From 4a6ce8b8c12d61bb567cb5f3766654fa1182f216 Mon Sep 17 00:00:00 2001 From: Thibault UBUNTU Date: Wed, 9 Mar 2016 16:44:00 +0100 Subject: [PATCH] add delete delivery delay on shopping cart if no product --- themes/site/js/cart-summary.js | 16 ++++++++++++++-- themes/site/shopping-cart.tpl | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/themes/site/js/cart-summary.js b/themes/site/js/cart-summary.js index ee8d7fcb..842edc0f 100755 --- a/themes/site/js/cart-summary.js +++ b/themes/site/js/cart-summary.js @@ -103,8 +103,9 @@ function deletProductFromSummary(id) else { $('#product_'+ id).fadeOut('slow', function() { - $(this).remove(); - }); + $(this).remove(); + updateLayerDelay(); + }); var exist = false; for (i=0;i - +

{$details.title}