Available Since: V2.1.0
Chunk used to format Open Graph meta data and twitter cards for store product pages.
<meta property="og:locale" content="[[+locale]]" /> <meta property="og:type" content="product" /> <meta property="og:title" content="[[+ogtitle]]" /> <meta property="og:description" content="[[+ogdesc]]" /> <meta property="og:site_name" content="[[+site]]" /> <meta property="og:url" content="[[+url]]" /> <meta property="product:price:amount" content="[[+amount]]" /> <meta property="product:price:currency" content="[[+currency]]" /> <meta property="product:availability" content="[[+availability]]" /> <meta name="twitter:card" content="summary" /> [[if &subject=`[[+twitter.site]]` &operator=`!empty` &then=`<meta name="twitter:site" content="[[+twitter.site]]" />`]] <meta name="twitter:title" content="[[+twitter.title]]" /> <meta name="twitter:description" content="[[+twitter.desc]]" /> [[+images]] [[+tags]]
Placeholder | Description |
---|---|
locale | The site locale. |
ogtitle | The Open Graph title. |
ogdesc | The Open Graph description. |
site | The site name. |
url | The site address. |
twitter.site | The account to attribute the site to. |
twitter.title | The title for the twitter card. |
twitter.description | The description for the twitter card. |
images | The Open Graph and Twitter images. |
amount | The cost of the product. |
currency | The currency for the product price. |
availability | The product availability. |