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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rfay’s picture

Status: Needs review » Needs work

This 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

hoZt’s picture

List 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.

rfay’s picture

Status: Needs work » Needs review

Thanks for your work on this.

I'll take a careful look at it when I next work on the module.

rfay’s picture

Status: Needs review » Needs work

I 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?