News:

Looking for documentation? Take a look on our wiki

Main Menu

SEO: Google Data Highlighter can't see Virtuemart price

Started by FaintOfFeint, January 21, 2016, 18:31:34 PM

Previous topic - Next topic

FaintOfFeint

In Google Webmaster Tools, a Data Highlighter tool is offered. With it, you can show Google which part of a page has a Product name, picture, and price.

VirtueMart 3.0.12, Storeslab_2 template, is emitting prices which the Data Highlighter can't see. I can single-click on the name and picture, but not on the price.
http://www.pyrahealth.com/component/virtuemart/160/21/pyramids/for-home/advance-pyramid-advance-multier-detail?Itemid=0

This probably has SEO implications, as if this tool has difficulty then other Google tools might also be having difficulty.

(Yes, I have added microformats elsewhere on the page. I'm concerned about whatever is confusing Data Highlighter.)

VMTemplates.net

Hi,

this is probably caused by bug in the template code you using. If you would debug price element using firebug or Google Chrome Inspect element you would noticed that the price tags are covered by addtocart tags.

Try to add this code below to your template code:

div.spacer-buy-area .product-price {
width: 100%;
text-align: left;
}

.addtocart-area {
clear: both;
}
We develop VirtueMart templates since 2008
https://www.virtuemarttemplates.net/
Join the VirtueMart Templates Club today and get an access to over 60 VirtueMart templates
https://www.virtuemarttemplates.net/template-club.html
If you need a custom VirtueMart Template design please visit https://www.virtuemarttemplates.net/custom-virtuemart-template-design.html
Visit our new shop https://demo.virtuemarttemplates.net/
Join the VirtueMart Templates Club, purchase the template or order one of our services like Hosting, Website Maintenance, Security and Optimization, Template Customization and more

FaintOfFeint

I did briefly try the Beez3 template, but it looked like it was generating similar HTML for that DIV. I'll look at what you suggested.

FaintOfFeint

The CSS change above does seem to have fixed the problem. On pages which Google has recently read, I'm able to highlight the price.