Structured data

Shoptet templates use Schema.org microdata format to present structured data.

Product detail

On product detail pages, the main product is described by microdata according to the Google recommendation.

Example

<div class="p-detail" itemscope itemtype="https://schema.org/Product">
    <meta itemprop="identifier" content="9512fff7-302f-11e9-a065-0cc47a6c92bc">
    <meta itemprop="name" content="Reebok Nano  + prodloužená záruka">
    <meta itemprop="url" content="https://classic.shoptet.cz/sport-a-relax/reebok-nano/">
    <meta itemprop="image" content="https://cdn.myshoptet.com/usr/classic.shoptet.cz/user/shop/big/293_bota-reebok-nano.jpg?5d95e2b7">
    <!-- etc. -->
</div>

Product listing

Product listings, e.g. homepage or category page, do not employ microdata format. However, the same basic data is available in HTML data attributes with the prefix data-micro. Depending on property type, values can be read directly from the data attribute or from other attributes of the respetive element.

Example

<div class="p" data-micro="product" data-micro-identifier="9512fff7-302f-11e9-a065-0cc47a6c92bc">
    <a href="/sport-a-relax/reebok-nano/" data-micro="url">
        <span data-micro="name">Reebok Nano</span>
    </a>
    <img src="..." data-src="..." data-micro-image="https://cdn.myshoptet.com/usr/classic.shoptet.cz/user/shop/big/293_bota-reebok-nano.jpg?5d95e2b7">
    <!-- etc. -->
</div>