master
parent
23c11d7499
commit
75fb350e2e
|
@ -170,6 +170,8 @@
|
||||||
if(typeof updateProducts === "function") $('#list-products').html('');
|
if(typeof updateProducts === "function") $('#list-products').html('');
|
||||||
totalPrice = 0;
|
totalPrice = 0;
|
||||||
if(objProducts.length > 0) {
|
if(objProducts.length > 0) {
|
||||||
|
$('#cart-link').show();
|
||||||
|
$("#btn-share").show();
|
||||||
let ids = objProducts.map(obj => obj.id);
|
let ids = objProducts.map(obj => obj.id);
|
||||||
$.get($('meta[name="get-contents"]').attr('content')+"/"+ids.join(","), function(response, status){
|
$.get($('meta[name="get-contents"]').attr('content')+"/"+ids.join(","), function(response, status){
|
||||||
response.contents.forEach(function(item){
|
response.contents.forEach(function(item){
|
||||||
|
|
Loading…
Reference in New Issue