Hi,
I’m using the Broadcast theme and would like to hide the price of Sold Out products. Any help appreciated.
Thanks
A user seeks to hide prices for sold-out products on their Shopify store using the Broadcast theme.
Proposed Solution:
card-product.liquid or product-grid-item.liquid){{ product.price | money }}{% if product.available %}
{{ product.price | money }}
{% endif %}
This Liquid code modification will display prices only for available products, automatically hiding them when items are sold out.
Status: Multiple community members requested the store URL to provide customized assistance, but a working code solution has been offered. The thread remains open for implementation feedback.
Hi,
I’m using the Broadcast theme and would like to hide the price of Sold Out products. Any help appreciated.
Thanks
@taylorle Can you please share this page link? we may do it using CSS
Hello @taylorle
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
Hi, @taylorle
Can you please share the store URL so that I can check it for you?
Hello @taylorle ,
To hide the price of sold-out products in the Broadcast theme, follow these steps:
Go to Online Store > Edit Code.
Open the product card file (e.g., card-product.liquid or product-grid-item.liquid).
Find the price code:
{{ product.price | money }}
Wrap it in this condition:
{% if product.available %}
{{ product.price | money }}
{% endif %}
This will hide the price for sold-out products only.