Author Topic: VMCart is showing a extra word  (Read 1157 times)


  • Beginner
  • *
  • Posts: 1
  • A beginner
VMCart is showing a extra word
« on: September 23, 2018, 23:26:57 pm »
Hello there guys.

I have a question for ya.
My shopping cart in virtuemart (winkelwagen in dutch) is showing "Product(s)" behind every sentence.
I have attached a image so you guys can see what i mean. It is a combined screenshot from a full and empty cart.

I want to get rid of the "Product(s)" word.
Anyone know where i can change that text?

cheers in advance.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9819
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: VMCart is showing a extra word
« Reply #1 on: September 24, 2018, 00:32:40 am »
template? over rides? live url?
standard cart module? over ridden?

in std VM texts come from the cart helper

      if ($data->totalProduct>1) $data->totalProductTxt = vmText::sprintf('COM_VIRTUEMART_CART_X_PRODUCTS', $data->totalProduct);
      else if ($data->totalProduct == 1) $data->totalProductTxt = vmText::_('COM_VIRTUEMART_CART_ONE_PRODUCT');
      else $data->totalProductTxt = vmText::_('COM_VIRTUEMART_EMPTY_CART');
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
Contact for any VirtueMart or Joomla development & customisation