Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Fixed delete from cart not working

givanzf4bfaf42f647
diff --git a/public/js/app.js b/public/js/app.js
index 1d857af..651cb19 100755
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -412,7 +412,7 @@ VvvebTheme.Gui = {
}
}
- VvvebTheme.Cart.add(id, {}, this, '.mini-cart', function() {
+ VvvebTheme.Cart.remove(id, this, '.mini-cart', function() {
VvvebTheme.Alert.show('<img height=50 src="' + img + '"> &ensp; <strong>' + name +'</strong> was removed from cart');
product.remove();
});