All things Shopify and commerce
Hello,
I am using the Focal theme and i want to add a "See price in cart" function to specific products and those products only to have a different price when added to the cart.
I have tried editing the code and that did not seem to work, I want to make a Black Friday collection and only add those products to the home page and instead of showing the price, it will see "See price in cart"
Can anyone help with this?
Thank you in advance
@UnlimitedAmmo Hey, thanks for posting here.
I have an idea that you add a tag to the product and put this condition in the price snippet on the product card.
{% if product.tags contains 'see-price-in-cart' %}
<span class="see-price-in-cart">See price in cart</span>
{% else %}
{{ product.price | money }}
{% endif %}
Thank you for your reply! Where do I find the Price snippet and product card? Is this something I can find within creating the product?
Learn what's possible with customizing Shopify Checkout beyond what's available out of...
By Shopify Feb 19, 20252m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025