Add a price "from $X" on a product with no option

Solved
Highlighted
Tourist
6 0 0

Hi!

I used a product option customizer app, and those options may increase the price. However, as the options are not on my shopify product but rather the app, the product does not show "from $XX" price on collection pages. Does anyone have an idea of how I could fix this? Thank you very much!

0 Likes
Highlighted
Shopify Expert
498 9 96

This is an accepted solution.

Since I don't know the app you're using or if it offers any remedy to that, all I can suggest is something outside of the app. You could add a tag to these types of products and then check for that when displaying prices.

{% if product.price_varies or product.tags contains 'variable-price' %}
  from
{% endif %}
{{ product.price | money }}
Highlighted
Tourist
6 0 0

Thanks you so much Gina! Do you have any idea of where I should paste this code? I already tried at the end of my theme.scss and it did not work.

0 Likes
Highlighted
Shopify Expert
498 9 96

I can't say for sure because I don't know how your theme code is set up, but maybe look in Snippets for something like 'product-grid-item.liquid' or 'product-card.liquid' or similar.

The theme.scss.liquid file is for styling your site, not displaying product prices.