VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: renebrax on September 23, 2018, 23:26:57 PM

Title: VMCart is showing a extra word
Post by: renebrax 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.
https://imgur.com/a/lL4sy9s

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

cheers in advance.
Title: Re: VMCart is showing a extra word
Post by: GJC Web Design on September 24, 2018, 00:32:40 AM
versions?
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');