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...
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025