I am building a Shopify App in which I am trying to add icons and labels on Shopify pages(Collections, product details page, etc) using script tag js on products.See the below image with custom icons and labels for this store theme. I am facing an issue to add icons and labels on other themes. Because I am not able to find a unique HTML element to add this. Please tell me how I can find a unique element for add icons and labels? Or any other useful information for achieving this.
Hey there @zerrick,
Can you please include the URL of your store? I'll take a look for you before I can offer any solution/guidance. Thanks
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
thanks but i can't see this lable do you have same theme or different?
@Ketan I am looking for generalize solution which will work on all themes.
As I mentioned above I am building a Shopify app and I need a way(may be HTML class or id) so I can find where that product is in theme.
Here is the example store where I added a script tag
i can see this view
sorry but i can't see i have check all browsers are you sure this live theme do you have add code?
or if possible to add me on staff so i will check and update