Help! Duplicate product @ID tags!

Solved
Cheiro
Excursionist
32 1 7

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" } </script> <script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "Product", "@id": "https:\/\/theelephant.world\/products\/aotearoad-natural-dry-shampoo-for-dark-hair", "@id": "https:\/\/theelephant.world\/products\/aotearoad-natural-dry-shampoo-for-dark-hair", "@id": "https:\/\/theelephant.world\/products\/aotearoad-natural-dry-shampoo-for-dark-hair", "name": "Aotearoad Natural Dry Shampoo for Dark Hair", "url": "https:\/\/theelephant.world\/products\/aotearoad-natural-dry-shampoo-for-dark-hair","image": [ "https:\/\/cdn.shopify.com\/s\/files\/1\/0551\/4271\/1461\/products\/ShampooDark_750x.png?v=1615214030" ],"description": "Aotearoad Dry
Copy

 

An example product page is here: https://theelephant.world/collections/featured-collection/products/aotearoad-natural-dry-shampoo-for...

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

Leighton

0 Likes
AlexHodzitsky
Shopify Partner
62 15 17

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

I didn't choose the Shopify, the Shopify chose me.
Cheiro
Excursionist
32 1 7

Awesome! Thanks Alex,.will take a look

0 Likes
Cheiro
Excursionist
32 1 7

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

 

Cheiro_0-1619972471154.png

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

Cheiro_0-1619972642039.png

 

 

0 Likes
AlexHodzitsky
Shopify Partner
62 15 17

This is an accepted solution.

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

I didn't choose the Shopify, the Shopify chose me.
Cheiro
Excursionist
32 1 7

Perfect! Thank you so much!

0 Likes