What's your biggest current challenge? Have your say in Community Polls along the right column.

Walkthrough Help Needed - How To Hide the Pricing of One Particular Brand On Website.

Walkthrough Help Needed - How To Hide the Pricing of One Particular Brand On Website.

AirForLife
Visitor
2 0 0

Can someone help? - I would like my Shopify site to show the sale price for all items, EXCEPT those items made by one certain brand. I am unfamiliar with the coding , where I would put it or even where to begin. I could only find the option in the overall account settings to hide the pricing for all items on my site, which isn't what I'm looking for... Is there a SME/Shopify expert who can help walk me through the process step-by-step?

Replies 3 (3)

Shadab_dev
Shopify Partner
926 49 91

You will need liquid coding for this. So on the product page hide the sale price for a product that has that brand or you could also use title of the product. 

Buy me Coffee, if you feel i was helpful. Email Me or WhatsApp me for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
AirForLife
Visitor
2 0 0

Thank you for responding, may I ask what liquid coding I need?

Shadab_dev
Shopify Partner
926 49 91

coding will be something like this

 

{% if product.vendor != 'your brand' %}

---> your sale price code render ---->

{% endif %}

 

There are a few ways yo could do this, i am showing one way. You  could also check with product title like

{% if product.title != 'ttle of your product' %}

---> your sale price code render ---->

{% endif %}

 

if there are multiple products do it like this

 

{% if product.title != 'your product title' or product.title != 'your second product title' %}

---> your sale price code render ---->

{% endif %}

 

 

Hope this helps in any way.

 

Best
Shadab

Buy me Coffee, if you feel i was helpful. Email Me or WhatsApp me for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.