Need help hiding prices of sold products Debut theme

kjhwpb
New Member
2 0 0

I would like to hide the price of sold products but display the "sold out" showing badge on the product and collection pages.  I tried modifying the product-price-listing.liquid snippet with:

{% if product.available %}

{% endif %}

The price disappears but the "sold out" badge doesn't display.

Please know I'm not in any way someone who knows liquid.

Thanks for any help!

0 Likes
dmwwebartisan
Shopify Partner
4411 986 1260

Hey @kjhwpb,

Can you please provide a screenshot of your code that in which line number and place you have changed this code?

That will be helpful.

Thanks!

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
kjhwpb
New Member
2 0 0

HI! Here are the screen shots.  I've highlighted my changes in yellow:

product-price-listing-top.pngproduct-price-listing-bottom.png

0 Likes
sansola
New Member
1 0 0

I am needing the same solution.

Does anyone have a suggestion to hide prices but display "Sold Out"?

0 Likes