Shopify themes, liquid, logos, and UX
Hello,
I have a certain collection that i need to remove the price from the collection page and make the product not show a price or link to buy but link to a form. Can you please help with the code for this?
Hi @RJJR
This needs a custom code in the theme to hide the price and enable a contact form that will send you mail with URL and user information or any information you want.
However, if you want to try it on your own try with the below code at card-product.liquid and main-product.liquid
{% for t in product.tags %}
{% if t contains 'hide-cat-button' %}
<style>
.[productid] .product-price-cost{display: none;}
</style>
{% endif %}
{% endfor %}
add product id as class name in main-product and grid.liquid
hope this will help...
User | RANK |
---|---|
229 | |
165 | |
66 | |
55 | |
49 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023