Header Cart text changes after adding a product to cart
Posted: Thu Jun 01, 2017 7:55 am
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?
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?