For all the products on our website, we have multiple schema markups. We are using a tool Avada SEO Suite. The rich results that the app generates fixes everything, but the one generated by the theme has multiple issues. And we need that to be disabled by default for all products.
https://arconiz.com/products/premium-set-of-2-turkish-cotton-terry-striped-beach-towels
Schema Markup Duplication Issue After Setting up Avada SEO Suite. Theme Default Need to be Disabled.
Have you contacted App support – this should be a part of their installation instructions/procedure…
Of course we have contacted the App support, we even contacted a reviews apps that we have. Unfortunately the schema that is duplicated and have issues is from the theme itself with no option to enable and disable, we confirmed that and contacted theme support, they diverted us here to post a thread here in the forums and someone will help us out.
Of course I know that themes will have their own Structured Data output.
And, if I were offering an App to add Structured Data to your site, I’d either add a code to remove the “native” one or have instructions on how to do it.
Looks like Avada thinks it not their problem.
Unfortunately, Symmetry is a paid theme and I do not have its code on hand at the moment, so can’t tell where exactly to go to remove it.
Generally, you need to search for type=“application/ld+json”, like this in theme code:
and remove these code blocks.
For product pages you should inspect sections/main-product.liquid (or similar name).
The code would be towards the end of the file, but above the {% schema %} line.
Actually, another solution is possible.
Google bot processes JS when it crawls the pages, so you can add a “Custom Code”/“Custom liquid”/“Liquid” (not sure how it’s named in your theme) section to the footer and add the following code:
This should work for Google – will remove all JSON-LD elements in the body (Avada seem to output their data into head).
Frankly, I do not know why Avada could not add this to their app.
Thanks so much, tried the second solution, added the script to the footer, and it worked, now it doesn’t show the theme default schema results in the testing tool.
