Page 1 of 1

Header Cart text changes after adding a product to cart

Posted: Thu Jun 01, 2017 7:55 am
by fadichmn
I only want to show how many items there is in the cart
Example: 1

I changed the language cart.php file to:
$_['text_items'] = '%s';

After adding a product, the text changes to: 1 item(s) - $30
I only want to show the item number 1

After deleting the product form the cart, the text changes to: 0 item(s) - $0
I only want to show the item number 0

What can I do more? Any ajax or javascript behind this?

Re: Header Cart text changes after adding a product to cart

Posted: Thu Jun 01, 2017 10:00 am
by viethemes
I have made a extension before. You can download it here viewtopic.php?f=182&t=184236#p674536