Announcement

Collapse
No announcement yet.

Duplicate Product Schema

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Duplicate Product Schema

    After helping a fellow Miva user look into this issue on another post ( https://www.miva.com/forums/forum/on...chant-listings ) I also confirmed this is true in an unmodified version of the latest Shadows 10.07 (I applied the most recent framework in another store's dev branch recently).

    I didn't look at every bit of schema but for sure the "price" property is indeed repeated.

    Once here on line 45 of the Product Display Layout on PROD:
    Code:
    <span id="price-value" itemprop="price" content="&mvte:product:price;">&mvt:product:formatted_price;</span>
    And then again in the template for PROD:
    Code:
    <mvt:if expr="l.settings:attributemachine:product:inv_leve l">
        <mvt:assign name="l.availability_inv_level" value="l.settings:attributemachine:product:inv_lev el"/>
        <mvt:do name="l.formatted_variant_price" file="g.Module_Root $ g.Store:currncy_mod:module" value="CurrencyModule_AddFormatting( g.Store:currncy_mod, l.settings:attributemachine:product:price )" />
        <meta itemprop="price" content="&mvt:attributemachine:product:price;"/>
    <mvt:else>
        <mvt:assign name="l.availability_inv_level" value="l.settings:product:inv_level"/>
        <meta itemprop="price" content="&mvt:product:price;"/>
    </mvt:if>
    I also noticed that Shadows deploys both the JSON-LD and Microdata formats for the Product Schema
    Nick Harkins
    www.loveisarose.com
    *Web Developer
    *Miva
    *Google Analytics, Search Console, Tag Manager, Merchant Center, Ads

    #2
    We have some schema updates planned for Shadows 10.07.01 to resolve this duplicate price property issue as well as a couple other schema issues that have been identified.

    Comment

    Working...
    X