Hi
How can I activate google structured data markup in the Shoe Store template(ordasoft.com/shoe-store-virtuemart-3-template.html)? Virtuemart has a snippet ready in the path components com_virtuemart sublayouts snippets.php
how can i make this work?
Actually VM shows structured data since 3.0.10
virtuemart.net/news/latest-news/472-release-of-3-0-10.
It is enabled by default
Please check this file:
componentscom_virtuemartsublayoutssnippets.php
You must have it.
Please check file:
/components/com_virtuemart/views/productdetails/tmpl/default.php
There you must see code:
Code: |
if ($this->product->prices['salesPrice'] > 0) {
echo shopFunctionsF::renderVmSubLayout('snippets',array('product'=>$this->product, 'currency'=>$this->currency, 'showRating'=>$this->showRating));
}
|
Next, you need check URL with you product, there:
search.google.com/structured-data/testing-tool
Regards
OtdaSoft team