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?
I have made a extension before. You can download it here viewtopic.php?f=182&t=184236#p674536
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Who is online
Users browsing this forum: No registered users and 158 guests