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