All things Shopify and commerce
Hello everyone, I have been experiencing some troubles about customizing my web site, I have added this code to my price.liquid snippet
unfortunately that piece of code shows in my website like this:
As you can see it seems like it is taking that like html, could you help me to give me so guide about what am I doing wrong? thanks a lot 🙂
Try this css code there
{% raw %}
<style>
.product-form__buttons, .product-custom-field-item {
display: none !important;
}
</style>
{% endraw %}
Hi @PJaChU
You need to add the code snippet at the end of the file or you can add it before </head> in the layout/theme.liquid file.
<style>
.product-form__buttons, .product-custom-field-item {
display: none !important;
}
</style>
Hope it will help you.
Regards,
Vinh
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025