How to hide specific product price and the add to cart button text & url the collection? I am a Shopify app developer.
I don't want to change the liquid directly because it means that I have to change for each store one by one. Now I am doing it this way and the task is exhausting
These products have a specific type, tags and vendor. But the problem is that it's hard to automate this task
Because there is almost no way to target specific elements in the DOM for different stores with different themes. The product fields are not passed to the elements on the page
Anyone tries to solve this problem before?
I try to hide the price with js by searching all elements. It works but I would like to if a better way exists
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.