Reduced schedule during conference and annual break

We'll be operating with a reduced schedule from tomorrow and the next few weeks, as follows:

We'll be travelling and attending JoomlaDay USA from Tuesday April 22 to Friday April 25. Support will have extended response time during this period. From April 25 evening to Tuesday May 12 included, support will be closed for our annual break.

Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.

In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site)

#6746 – wbAmp - how to show "@type": "Product" into amp pages with virtuemart pages?

Posted in ‘SEOInfo and other Weeblr extensions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 25 October 2016 09:42 UTC
[email protected]
Hello, I bought and installed a regular version of wbAmp.

I created a Set 1 Rule with following parameters:
Component: virtuemart,
ItemId(s):*,
Views: productdetails,
Queryvar Cat: virtuemart_category_id,
Val: *,
Item Ids Var: virtuemart_product_id,
Val: *

It regularly creates amp pages for each virtuemart product, but with the wrong markup schema. I better explain myself:
showing the source of the generated Amp Page for each product, i see something like this:

[code type="markup"]
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": "http://www.erbaflor.com/it/prodotti-it-it/salute-e-benessere-int-it/inverno-e-difese-immunitarie/echinalt-capsule-detail",
"headline": "Inverno e difese immunitarie : Echinalt capsule",
"publisher": {
"@type": "Organization",
"name": "Erbaflor",
"logo": {
"@type": "ImageObject",
"url": "http://www.erbaflor.com/templates/g5_hydrogen/custom/images/erb-logo-it-white.png",
"width": 600,
"height": 134
}
},
"image": {
"@type": "ImageObject",
"url": "http://www.erbaflor.com/images/stories/prodotti/lineainvernoedifeseimmunitarie/big/echinaltcapsule.jpg",
"width": 1000,
"height": 1000
}
}
</script>[/code]


But what i need is to show "@type": "Product". I looked into backend plugin settings, but I only view a combo NewsArticle, or BlogPosting. Is there a way to generate the correct json snippet for product markup....

Note: before buying this plugin, i made myself an override of virtuemart single product page that generated the correct json syntax, but not into a separated amp page... i post below the json generated by me, just to show what i'd like wbAmp to do:
[code type="markup"]
<script type="application/ld+json">

{
"@context": "http://schema.org/",
"@type": "Product",
"name": "Echinalt capsule",
"image": "http://erbaflor.com/images/stories/prodotti/lineainvernoedifeseimmunitarie/big/echinaltcapsule.jpg",
"description": "
Echinacea in capsule ad alto dosaggio. L'assunzione regolare del prodotto aiuta l'organismo a mantenere attive le sue naturali difese.
Ingredienti: Echinacea Purpurea radice E.S., Echinacea Angustifolia radice E.S., Magnesio stearato; involucro: Idrossipropilmetilcellulosa, biossido di Titanio, ossido di Ferro.
Confezione30 capsule",
"mpn": "EISOLCPS00190M",
"brand": {
"@type": "Brand",
"name": "ERBAFLOR",
"logo" : "http://www.erbaflor.com/templates/g5_hydrogen/custom/images/erb-logo-it-white.png"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4",
"reviewCount": "10"
},
"offers": {
"@type": "Offer",
"priceCurrency": "EUR",
"price": "10.4",
"priceValidUntil": "2020-11-05",
"itemCondition": "http://schema.org/UsedCondition",
"availability": "http://schema.org/InStock",
"seller": {
"@type": "Organization",
"name": "Erbaflor Peruzzo"
}
}
}

</script>
[/code]


Thanks in advance for your help
Simone Galiano
Tuesday, 25 October 2016 09:56 UTC
wb_weeblr
Hi

1 - We have no support for Virtuemart to fetch meta data (but I'm happy to see we generate valid AMP markup anyway!). We support Joomla content and K2, with built-in plugins.
2 - You can either build a VM plugin, or use Layouts override, as you did for standard page. Everything wbAMP outputs is done through JLayouts, so everything is overridable.
3 - You are on a pre-sale forum, please use the helpdesk for any support question.

Rgds
 
Tuesday, 25 October 2016 10:11 UTC
[email protected]
Thanks, I understand.
I will post a ticket under Helpdesk, if I'll encounter problems with wbAmp JLayout overriding, I think that's the way i will follow.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.