Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is are a couple of patches that attempt to add the prices that are returned from the VariationSummary. This should solve most cases where there are no prices that are returned for items that have multiple size, colors, etc.
If a price is returned in the VariationSummary Response Group this will add both the LowestPrice and a New field HighestPrice.
This is my first attempt at a patch so any feedback would be appreciated.
Comment | File | Size | Author |
---|---|---|---|
amazon_variations_install.patch | 1.32 KB | hoZt | |
amazon_variations.patch | 1.5 KB | hoZt | |
Comments
Comment #1
rfayThis looks pretty reasonable to me. In Amazon Store I actually had to navigate the various variations, so never even paid attention to the VariationSummary. Very nice.
Could you please take a look and see if the list price and amazon price fields are affected by variations, and if they are, provide support for them?
This looks quite good and I'm perfectly willing to commit it once the conversation is complete.
Thanks,
-Randy
Comment #2
hoZt CreditAttribution: hoZt commentedList prices are still being populated for both the Amazon price and the Listed price when they are returned. Here is a good ASIN that has all of the values: B001NGBH2U.
Comment #3
rfayThanks for your work on this.
I'll take a careful look at it when I next work on the module.
Comment #4
rfayI don't think this can go in without support in views and filters. Without that it's only useful to people who are doing their own theming. Have I missed something?