hide button checkout
parent
9aef0568c7
commit
252c97ca4f
|
@ -178,7 +178,8 @@
|
||||||
if(objProductInfo == undefined) {
|
if(objProductInfo == undefined) {
|
||||||
$('#btn-add-to-bag').show();
|
$('#btn-add-to-bag').show();
|
||||||
$('#btn-show-bag').hide();
|
$('#btn-show-bag').hide();
|
||||||
$('#btn-check-out').parent().show();
|
if(objProducts.length > 0) $('#btn-check-out').parent().hide();
|
||||||
|
else $('#btn-check-out').parent().show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('#btn-add-to-bag').hide();
|
$('#btn-add-to-bag').hide();
|
||||||
|
|
Loading…
Reference in New Issue