diff --git a/content/master.blade.php b/content/master.blade.php index ef7b867..934162c 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -1,6 +1,7 @@
+ @insert("content.includes.meta") @insert("content.includes.css") @@ -115,6 +116,38 @@ + + @yield('content') @insert("content.includes.footer") @insert("content.includes.scripts") @@ -129,6 +162,7 @@ for(let i = 0; i < quantitys.length; i++) { quantityOfProducts += Number(quantitys[i]); } $('#count-products-in-bag').text(quantityOfProducts); $('#list-products-in-bag').html(''); + if(typeof updateProducts === "function") $('#list-products').html(''); totalPrice = 0; if(objProducts.length > 0) { let ids = objProducts.map(obj => obj.id); @@ -158,18 +192,32 @@