Adding a 'From' to the price on a listing in a collection where there are variants in price in Debut theme

Highlighted
Tourist
5 0 1

OMG thank you so much!!! I've been searching for this for the past 2 hours. 

0 Likes
Highlighted
New Member
1 0 0

 


@John_Cowan1 wrote:

Dear Mike, thank you very much for taking the time to write out these instructions. I am afraid I have gone over your instructions, and checked again in case I have made some error, but the 'from' again appears on ALL my products when I do this, similar to before.

Thank you for leting me know I am not alone with this issue, I was quite surprised at having this issue with this theme.

 

Best wishes, John


Use this:

 

{% if product.variants.size > 1 %}
{% include 'product-price-from', variant: product %}
{% else %}
{% include 'product-price', variant: product %}
{% endif %}

0 Likes