How to show the price range on product variants?

TradingboTradingbo Posts: 24Member

Hi Support,

Attempting to show a 'prices from' label on variable products within the grid.

E.g. Tickets from £15

As I understand you would need to loop through the product variables:

{% for variant in product.variants %} 

{% endfor %}

But can't locate how to grab the lowest priced variant and print?

There doesn't seem to be a product.variant.price variable in the documentation.

Similar to the request in this post, but the answer doesn't seem relevant when translated.

https://community.lightspeedhq.com/en/discussion/1678/how-can-i-show-number-of-variants-available-as-well-as-the-price-range-on-them

Many Thanks,

Sign In or Register to comment.