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

Removing product name from "Add to Cart Pop Up"

Started by wilkelly2, August 23, 2013, 17:07:29 PM

Previous topic - Next topic

wilkelly2

I want to remove the product name from the Pop Up window when adding a product to the cart.  I want to leave the Continue Shopping and View Cart links.  I have commented out some of the code below the links in the padded.php file but it either makes the pop up hang or continues to show the product.  Any help will be appreciated.  Thanks, Bill

jenkinhill

For VirtueMart 2.0.22b in padded.php find the code:
echo '<h4>'.JText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$this->product->product_name,$this->product->quantity).'</h4>';
Change to
echo '<h4> </h4>';

Use the edited file as a template override so it does not get overwritten during VM updates.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

wdad

I have the same problem.
Where must I save the padded.php override?

Thanks,
Helmut
www.kueche1a.eu
VirtueMart 4.2.0 10905 , Joomla! 3.10.12

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

wdad

www.kueche1a.eu
VirtueMart 4.2.0 10905 , Joomla! 3.10.12