Price on request over a certain amount - Theme Prestige

9 0 0

Hello guys !

I am looking for the proper way to include a condition on my site, that would replace the price by "price on request" for every objects over an amount that I would have chosen.
Also I would like to replace the "place order" button by my phone number on the pages that would show "price on request".

Let me know if you have any idea

Thank you all in advance


Hi there,
Jack from OpenThinking here!

{% if product.price >= 3000 %}
<div>price on request</div>
{% endif %}

NOTE: product.price returns a integer, so 30.00 = 3000

let me know if this works for your. If yes; accept my answer and give me thumbs up! Thank you.

⚡️ [Shopify Themes]: Lightning-fast, Highly converting, SEO-optimized, Minimal.
⚡️ Need help with your store? [Get a quote]