Advanced duo for visibly firmer, smoother, more lifted-looking skin
{
show_subscription_promo = true;
});
"
@price-updated="
$nextTick(() => {
if($event.detail > 0){
if (window.DRMPriceTest && DRMPriceTest.applyTo($data, $el, subscribe ? 0 : $event.detail)) return;
let has_discount = false;
let has_subs_discount = false;
let subs_discounted_price = 18700;
let subs_percentage = 0;
let discount_percentage = 0;
let item_price, discount_price;
if(!has_discount){
price = ( subscribe ? `
Precio habitual ` + Unick.formatMoney3(18700) + `Precio de venta `: ' ') + Unick.formatMoney3($event.detail);
}
if(!subscribe && has_discount){
price = `
Precio habitual ` + Unick.formatMoney3(18700) + `Precio de venta ` + Unick.formatMoney3(discount_price);
}
if(subscribe && has_subs_discount){
console.log('--------------------------------');
console.log('has_discount', has_discount);
console.log('has_subs_discount', has_subs_discount);
console.log('subscribe', subscribe);
console.log('subs_discount_price', subs_discounted_price);
console.log('decimal', '');
console.log('percentage', subs_discounted_price);
console.log('price', price);
console.log('--------------------------------');
price = `
Precio habitual ` + Unick.formatMoney3(18700) + `Precio de venta ` + Unick.formatMoney3(subs_discounted_price);
}
}
});
"
x-init="
productForm = $refs.product_form;
button_label = 'AGREGAR AL CARRITO' + `
: The Needle-less® Duo`;
first_variant = '41936236511287';
price = `
${Unick.formatMoney3(18700)}
`
price = `
Precio habitual ${ Unick.formatMoney3(23400)}
Precio de venta ${Unick.formatMoney3(18700)}
`
if (window.DRMPriceTest) DRMPriceTest.applyTo($data, $el);
"
>