diff --git a/website/templates/html/product_page.html b/website/templates/html/product_page.html index bf1ecc066b..255d1e7b53 100644 --- a/website/templates/html/product_page.html +++ b/website/templates/html/product_page.html @@ -43,11 +43,11 @@ - diff --git a/website/templates/js/cart.js b/website/templates/js/cart.js index e4bd6b2917..3e6a344c1c 100644 --- a/website/templates/js/cart.js +++ b/website/templates/js/cart.js @@ -51,7 +51,6 @@ $.extend(wn.cart, { bind_events: function() { // bind update button $(document).on("click", ".item-update-cart button", function() { - console.log("click!"); var item_code = $(this).attr("data-item-code"); wn.cart.update_cart({ item_code: item_code, @@ -84,7 +83,7 @@ $.extend(wn.cart, { '{% include "app/website/templates/html/product_missing_image.html" %}'; if(!doc.web_short_description) doc.web_short_description = doc.description; - + $(repl('
\
\
\ @@ -101,8 +100,7 @@ $.extend(wn.cart, { data-item-code="%(item_code)s">\
\ \ + \
\
\

at %(formatted_rate)s

\ @@ -113,6 +111,8 @@ $.extend(wn.cart, { } }); + + return; if(Object.keys(wn.cart.get_cart()).length) {