Shopify themes, liquid, logos, and UX
Hello everyone,
My website is: https://sadea.dk/
I am currently using the Impact theme.
I have previously hid all prices on my website, as it is primarily used as an information shop rather than a shop, where you can actually purchase products. However, I would like to change this. Therefore, I have now removed the code that hid all prices.
Now, I would like to know whether it is possible to add some code, where you can remove prices on INDIVIDUAL products, instead of all products (see the code i added previously with ALL products in the bottom of this post).
I would like to pick some of my products and remove pricing for these EVERYWHERE on my website, including in collections etc.
Can anyone help me in this matter? Does anyone have experience in removing prices for individual products?
Thank you very much in advance.
Best regards,
Malte.
Hey @Sadea
Can you share the name of those products from where you want to hide the prices from?
Best Regards,
Moeed
Yes, they are currently "Protexus elektrostatisk sprayer" and "Protexus elektrostatisk sprayer - Backpack".
Hey @Sadea
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if product.title == "Protexus elektrostatisk sprayer - Backpack" %}
<style>
price-list {
display: none !important;
}
</style>
{% endif %}
{% if product.title == "Protexus elektrostatisk sprayer" %}
<style>
price-list {
display: none !important;
}
</style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello, thank you very much for your answer.
However, this code only removes pricing on that exact product page, including the "related products" on these product pages.
It does not remove the price on the entire website, on collection pages etc.
Is there any way to remove it entirely from the website, instead of only on the product page itself?
As you can see on the image below, it removes pricing on the product page, but the prices still appear on the collection page: https://sadea.dk/collections/safesprayer and https://sadea.dk/collections/protexus (everywhere except prices on those exact product pages).
Looking forward to hearing from you. 🙂
Best regards,
Malte.
Product page (prices removed):
Collection pages (prices still there):
Hey @Sadea
Can you share your collaborator request code, as I'll require the access of your Shopify Admin dashboard to fix this issue.
Best Regards,
Moeed
Settings > Users and Permissions > Scroll down till you see a 4 digit code
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024