Is there a way to write a price formatter to display the lowest and highest price of a collection of product variations? My reason for thinking it might not work is the scope of the product variation vs. it's "parent" product display.

If not, is there some way to build a view that will query to max ( and another for the min ) price of a collection of variations under one product display?

For Example:

I have a product display with 4 variations. Each variation has a different size lets say, and therefore each variation has a different price. I'm looking for a way for my product display to show the price of the cheapest variation and the highest priced variation as a range. As opposed to the first variation price that is shown now

1 Answer 1


Commerce Pricing Attributes

This module provides some enhancements to the Commerce Product Option and Commerce Product Attributes handling by applying pricing rules to custom product attributes. So, you can add attributes to products that affect the final product price.

  • Dynamic price calculation based on selected operators.
  • Cart combination based on product attributes.
  • Support for multi currency.
  • Multilingual attributes.
  • Different attributes and settings per product.
  • Price adjustments either per item or per order.
  • Rules integration.
  • Easy UI for editing and reordering attributes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.