Hide Price from Products with Specific Tag

Hey guys,

I am looking to hide the price from products with a specific tag. I’ve been able to create a product template that hides the price, however, when it comes to search results, cart, checkout and collection pages, you can still see the price. The theme I am working with is Expanse by Archetype.

Any help or suggestions would be greatly appreciated.

Store: https://stoweliving.net/

Example Product without Price

1 Like

Hi @urbandropout !

This is PageFly - Advanced Page Builder. I would love to give you some recommendation

You want like this;

I hope my recommendations will be beneficial for you, let me know if you have any questions. Cheers!

Best Regards;
PageFly

I’ve DM’d you.

I’ve Dm’d you

Hi @urbandropout

Since every template has different codes, you need to edit each template. You have to enclose each price code with the unless code. The logic would be

{% unless product.tags contains "your-tag" %}
The price code here
{% endless %}

Hi @urbandropout !

This is PageFly - Advanced Page Builder. I would love to give you some recommendation

Please paste this code at the bottom of theme.css under assets in theme code files;

p:last-child{
display: none !important;
}

I hope my recommendations will be beneficial for you, let me know if you have any questions. Cheers!

Best Regards;
PageFly

Hi @urbandropout You can check this one. It can hide prices based on product-specific tags, and also the dev team can customize rules to hide prices for you.