How to fix duplicate product ID tags issue on product pages?

Hi all, I am getting this issue on one of my product pages, found by Google Search Console: Unparsable structured data > Duplicate unique property

// add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "Add to cart", soldOut: "Sold out", unavailable: "Unavailable" }  

Copy

An example product page is here: [https://theelephant.world/collections/featured-collection/products/aotearoad-natural-dry-shampoo-for...](https://theelephant.world/collections/featured-collection/products/aotearoad-natural-dry-shampoo-for-dark-hair)

I am not sure how I access this code to resolve the issue? Any help appreciated!

Leighton

Hi Leighton! Hope you are doing well!

I see your problem - https://prnt.sc/129gm3o, most likely the micro-data is in templates/product.liquid or sections/product-template.liquid file. To search within a file, you can use a query like this:

"@type": "Product"

If you find this place, then take a screenshot and provide it to me so that I can give further instructions on how to fix the problem.

Alex

1 Like

Awesome! Thanks Alex,.will take a look :+1:

Hi @AlexHodzitsky here is the screenshot as requested - is this the right place? (From templates: product.liquid)

I also found this in sections: product-template.liquid

Hi Cheiro!

Yes, this is what you need, in the first screenshot, remove two lines of ID fields(35,36 lines) https://prnt.sc/12ebha4

Alex

2 Likes

Perfect! Thank you so much!

1 Like