Post by fadichmn » 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?



Thu Jun 01, 2017 7:47 am

Post by viethemes » Thu Jun 01, 2017 10:00 am

I have made a extension before. You can download it here viewtopic.php?f=182&t=184236#p674536 - 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

User avatar
Active Member


Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: Bing [Bot] and 28 guests