Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Structured Data

Structured Data 11 years 4 months ago #1888

Hello,

I wonder if there is any way to enable structured data SEO in the template.

The idea is to make the products more indexable and be able to use tools like the folllowing:
www.google.com/webmasters/tools/richsnippets

Thanks!
The administrator has disabled public write access.

Structured Data 11 years 4 months ago #1891

Hi,

I really don't understand what you are saying or what you are trying to do.
But keep this in mind, our VM Template is a template for Virtuemart only. It is not a Joomla Template at all.

Please be more specific about what you are looking for. If it has to do with our VM Template, i would gladly assist you on that.

Regards.
Forum Support.
The administrator has disabled public write access.

Structured Data 11 years 4 months ago #1893

Hello again,
thanks for the fast responde.


I am trying to enable Google Rich Snippets in my shop.
You can see a demo from another template here:
www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.jdemo.mowebso.com%2Fmws_demo_virtuemart_theme%2Findex.php%2Fvm-product-details&html=


The virtuemart product, category, etc information is parsed and structured, hence, the SEO increases.

I wonder if it is possible to enable this feature in the template.
The administrator has disabled public write access.

Structured Data 11 years 3 months ago #1904

Hi,

Okay, now i understand what you want. But it might give you some trouble in some cases, for example, for pricing:

Google wants something like this structure:
<m-eta itemprop="currency" content="USD" />
$<span itemprop="price">119.99</span>
In order to capture the Currency and the Price.

But in Virtuemart, price elements are generated with this PHP line (by Virtuemart, officially):
echo $this->currency->createPriceDiv('salesPrice', '', $this->product->prices);

And in the website, the result becomes:
<div class="PricesalesPrice" style="display : block;">
<span class="PricesalesPrice">$234.00</span>
</div>

but it should have been something like below to implement the price rich snippet;
<div class="PricesalesPrice" style="display : block;">
<span class="PricesalesPrice"><m-eta itemprop="currency" content="USD" />$<span itemprop="price">250.00</span></span>
</div>

You see what i mean? I don't know how you can separate the Dollar sign and 250.00 then add the extra meta line between them (without virtuemart core hack). It obvious it will give you lots of pain. And i can't be sure how to achieve this though, 'cause i have never interested in this topic. But i would never recommend you to do the core hack, because in the future you will need the Virtuemart updates, and once you perform the update your all core changes will be retrieved back to stock, which means you will need to do the same modifications again and again.

If you insist on this (making the core hack to virtuemart) i would suggest you to look at forum.virtuemart.net. It is a tough topic and completely related with Virtuemart Components itself. And look for some 3rd party extension to let you do these things easily. I remember some extensions were available for Virtuemart1.1.9, but i can't be sure if anyone has come up with an 3rd party extension yet to achieve what you are looking in VM2.0.xx.

Did you google it and searched for it already?

I just found this extension:
extensions.virtuemart.net/component/sobi2/?sobi2Task=sobi2Details&catid=12&sobi2Id=828&Itemid=2

and it is non-commercial (free) give it a shot. IT promises to give you what you are looking for.

it says:
"This free VirtueMart extension adds rich data-markup to your shop pages so that search engines like Google, Yahoo, and Bing can display richer item previews in the search results ("Rich Snippets") with information about prices, availability, delivery options, images, etc. This typically increases Click-Through-Rates (CTR) by up to 30 %."

Regards.
The administrator has disabled public write access.

Structured Data 11 years 3 months ago #1906

Thanks for the explanation and the coding advises.
It think we are going to implement it through your sugested extension.

Bye
The administrator has disabled public write access.

Structured Data 11 years 3 months ago #1911

If that extension doesn't work and If you are a PHP coder, you can also use the awesome! PHP function called preg_replace (php.net/manual/en/function.preg-replace.php)

It is not a big deal to include some additional elements with preg_replace though.

Case solved. topic is closed.
Forum Support.
The administrator has disabled public write access.
Time to create page: 0.170 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo