Shopify themes, liquid, logos, and UX
Hello,
I want "This product is not eligible for returns" to be displayed underneath the price on a product page if I tag that product with "final sale". What is the simplest way to do this on the Highlight theme?
Thanks in advance!
Hi @luxfactory
This is Mike from Omega
You can add code like this in product form liquid file:
{% if product.tags contains "final sale" %}
<p>This product is not eligible for returns. </p>
{% endif %}
Hi @Mike-Consentik thank you! The bit of code works, but the placement isn't correct. I moved the liquid block to *above* the buy buttons, but it is still showing up below the buy buttons and other global fields. Any ideas what I'm doing wrong?
Hi @luxfactory
Could you send me your store url or a preview url, then I could check it for you?
@luxfactory you need to find the "product__price-container" class name and put the above code under this price code.
Hi @Ujjaval is it possible we don't have the "product_price-container" in our theme? I don't see it anywhere. Would it be under a different class name?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024