Jump to content

Recommended Posts

Posted (edited)

I ask you to consider the possibility of implementing micro-markup of data in the product card in Commerce in accordance with https://schema.org/Offer and http://schema.org/AggregateOffer
Such micro-markup allows search engines to process product offers much better and greatly increases the position in the search results and improves the display of goods in the search results.

Edited by Julia Osipova
Posted
4 hours ago, Julia Osipova said:

I ask you to consider the possibility of implementing micro-markup of data in the product card in Commerce in accordance with https://schema.org/Offer and http://schema.org/AggregateOffer
Such micro-markup allows search engines to process product offers much better and greatly increases the position in the search results and improves the display of goods in the search results.

Store products are already marked up via JSON-LD with the Product type which includes the Offer type.

Example:

<script type='application/ld+json'>
{
    "@context": "http://schema.org",
    "@type": "Product",
    "name": "Physical Product",
    "description": "",
    "category": "Test",
    "url": "http://localhost/ips4/store/product/7-physical-product/",
    "sku": 7,
    "offers": {
        "@type": "Offer",
        "availability": "http://schema.org/InStock",
        "price": "25.00",
        "priceCurrency": "USD",
        "seller": {
            "@type": "Organization",
            "name": "Invision Community 4.6"
        }
    }
}	
</script>

 

Posted

Thanks. But:

1. when we have some options of product on one page, with different prices, we see only one offer in html code, with one price.

2. we turn off quantity control of stock, quantity is unlimited.. But in markup we see:

"availability": "http://schema.org/OutOfStock",

Example is here: 

https://fashionproduct.ru/community/store/product/33-декоративная-подушка-восточная-сказка/

 

Posted
38 minutes ago, Julia Osipova said:

Thanks. But:

1. when we have some options of product on one page, with different prices, we see only one offer in html code, with one price.

2. we turn off quantity control of stock, quantity is unlimited.. But in markup we see:

"availability": "http://schema.org/OutOfStock",

Example is here: 

https://fashionproduct.ru/community/store/product/33-декоративная-подушка-восточная-сказка/

 

I see, I've opened a bug report for that, we shouldn't be showing the stock status in that case.

Adding microdata support for each potential custom field selection would be quite complex, so I can't promise anything there, but thank you for the suggestion.

10 minutes ago, Julia Osipova said:

Is it possible to enable micro markup in embedded in html format, not JSON ?

As in the examples of search engines, for example, here:

https://yandex.ru/support/webmaster/supported-schemas/goods-prices.html

 

That's quite an 'old' way of doing it, JSON-LD effectively superseded that and makes it much easier to define and maintain microdata. - https://jsonld.com/why-json-ld/. Yandex does also support JSON-LD.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...