Gustavo Luigi 2022-09-01 20:04:40 +02:00
parent 23c11d7499
commit 75fb350e2e
1 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,8 @@
if(typeof updateProducts === "function") $('#list-products').html('');
totalPrice = 0;
if(objProducts.length > 0) {
$('#cart-link').show();
$("#btn-share").show();
let ids = objProducts.map(obj => obj.id);
$.get($('meta[name="get-contents"]').attr('content')+"/"+ids.join(","), function(response, status){
response.contents.forEach(function(item){