Hints and Tips

How to remove the "Categories" text on the main shop page in Virtuemart?

I'd done this a thousand times before, but had a bit of a moment and couldn't remember which file to edit.  Having searched the Virtuemart Forums with no joy, I set about some detective work to sniff out where the file resided and what needed removing! The front page of your shop is styled using the template you're using which is selected when you edit your configuration - in most cases this will be set to "Default".


To remove the text which says "Categories" on the left hand side, below your shop description and above your category text/images, you need to edit the following file:

components/com_virtuemart/themes/default/templates/common/shopIndex.tpl.php

Around line 6 you should see the following:

echo "<br /><h4>".$VM_LANG->_('PHPSHOP_CATEGORIES')."</h4>";

This is printing whatever your language file has written for 'PHPSHOP_CATEGORIES' - in my case this was "Categories".  Here you have two options, you can either remove that line in its entirety or you can edit the language file to have it display something more appropriate for your particular site.
 

Sponsors & Supporters

Up-coming events

June JUGS Meeting
14-06-2012 7:30 pm
Category:  User group meetings

Forum posts

Latest Tweets

Joomla! Suffolk Looking forward to meetthemembers tomorrow - are you coming? issba ipswich networking book here http://t.co/9Juc7Ln4
Tuesday, 15 May 2012 14:30
Follow joomlasuffolk on Twitter

Newsletter signup

Sign up to receive meeting notifications, and other useful information!

Log in

Go to top