News:

Support the VirtueMart project and become a member

Main Menu

Duplicate Cart Text

Started by matthewod01, May 18, 2012, 01:05:26 AM

Previous topic - Next topic

matthewod01

Hi everyone,

I have been searching through the code trying to figure out why the "Item/Product successfully added" is showing up twice. 

I see there is $msg = JText::_('COM_VIRTUEMART_PRODUCT_ADDED_SUCCESSFULLY'); in controllers/cart.php on line 153 and COM_VIRTUEMART_PRODUCT_ADDED_SUCCESSFULLY="Product successfully added" in en-GB.com_virutemart.ini in libraries on line 336.  But I can't see where the message is showing up twice.

Any suggestions would be helpful.

Thanks


VM 2.0.6
JM 2.5.4

[attachment cleanup by admin]

René Mendel

 go componets/com_virtuemart/controllers/cart.php  remove line 78 its double