Simply add empty cart button into OpenCart Store

Estimated reading time: 254 words, 1-2 minute Font: 736 Views

OpenCart store has no default Empty Cart button on the cart page. For anyone need back the button may add it your self.

1. Add this code into catalog/controller/checkout/cart.php in line 26 before // Remove.

And add this code in line 159

Add this caode in line 422

2. Add language into catalog/language/english/checkout/cart.php in line 72

3. Replace this code at template file catalog/view/theme/default/template/checkout/cart.tpl in line 205

Found this article helpful? Why not share it on social media and help someone else too?
Twitter (Open in new window) FaceBook (Open in new window)
Posted in categories of OpenCart Module This page was last modified on
Return to all OpenCart Module articles

Leave your thoughts in the comments section below!

By creating an account, you agree to our Terms of Service and Private Policy.

Comment Policy