MetaProperties¶
The MetaProperties object represents SEO meta properties for current page in the storefront.
classDiagram
direction LR
MetaProperties --> LinksList
MetaProperties --> PropertiesList
LinksList "1" --o "*" Link
PropertiesList "1" --o "*" Property
class MetaProperties{
string title
string keywords
string description
LinksList links
PropertiesList properties
}
class Link{
}
class Property{
}
class LinksList{
}
class PropertiesList{
}
Properties¶
Attribute name | Type | Description |
---|---|---|
title | string |
title of page. |
keywords | string |
meta keywords. |
description | string |
meta description. |
links | LinksList |
Reference to the LinksList object that represents links list of Link object associated with current page. |
properties | PropertiesList |
Reference to the PropertiesList object that represents list of Property object associated with current page. |
Examples¶
title
property¶
keywords
property¶
description
property¶
links
property¶
properties
property¶
<meta property="og:type" content="product" />
<meta property="og:title" content="Product name" />
<meta property="og:url" content="https://example.com/en/p/product-name/98" />
<meta property="og:description" content="Product description" />
<meta property="og:image" content="https://example.com/environment/cache/images/image.jpg" />
<meta property="og:site_name" content="Site name" />