Last post 5 hours 44 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70378
All time tickets 10862
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#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.