How do I change VirtueMart table title heading?

Asked By 80 points N/A Posted on -

Hi there.  I use VirtueMart for my e-commerce business.  How do I change the VirtueMart table title heading?  I have VirtueMart 2 and Joomla 2.5.  Any feedback would be highly appreciated.  Thanks in advance.

Answered By 0 points N/A #137736

How do I change VirtueMart table title heading?


If you want to change the table heading to your preferred text, you manually do this through hard coding the language file from the virtuemart component folder.

Option 1 :  you can hard code this file components/com_virtuemart/themes/default/templates/browse/includes/browse_listtable.tpl.php

    from this line:

    $tableheader[] = $VM_LANG->_('PHPSHOP_CART_SKU')

    change the PHPSHOP-CART_SKU to anything you desire, and don't forget the single quotation mark.

Option 2 : The PHPSHOP_CART_SKU from the above post refers to this file ../../language/en-GB.com_virtuemart.ini

    within this file there are list of terms you can manually edit without the risk of any damages from the php file like the one posted above. This option will be the best one since you can always go back to this file to change anything in the future without having the hassles of remembering which php script was modified before.

Login/Register to Answer

Related Questions