News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Stock level display SEO nightmare :-) on category view page?

Started by jjk, September 25, 2011, 08:52:39 AM

Previous topic - Next topic

jjk

Lines 1283 to 1290 in ...\administrator\components\com_virtuemart\models\product.php generate stock level display tips as a title output right below every category product thumbnail saying i.e. "Title=Sorry, we currently have no stock for this item". This might result in a SEO nightmare, because it is likely that a search engine picks it up as the image title and thus labels all category view images as "Sorry, we currently have no stock for this item".

As a temporary solution I've deleted the COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_ keys in product.php, but that doesn't look like a good solution to me.

The above is inserted into the page source despite having commented out the stock level display in ...\components\com_virtuemart\views\category\tmpl\default.php
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations