Non-abrasive exfoliating facial scrub that clears clogged pores.
{
if($event.detail > 0){
let has_discount = false;
let discount_percentage = 0;
has_discount = true;
let item_price = $event.detail;
if(subscribe){
discount_percentage = 0;
}else{
discount_percentage = 30;
}
let discount_price = item_price * discount_percentage / 100;
discount_price = item_price - discount_price;
price = Unick.formatMoney3(discount_price) ;
if(!has_discount){
price = ( subscribe ? `
` + price + ` `: ' ') + Unick.formatMoney3($event.detail);
}
if(!subscribe && has_discount){
console.log('price', price);
price = `
` + price + ` ` + Unick.formatMoney3(discount_price);
}
}
});"
x-init="
productForm = $refs.product_form;
button_label = 'ADD TO CART';
first_variant = '12867491004471';
price = `
${Unick.formatMoney3(4100)}
`
price = `
${ Unick.formatMoney3(4100)}
${Unick.formatMoney3(2870)}
`
">