BUTT LIFTER COMPRESSION GARMENT FRONT CLOSURE TUMMY CONTROL
${function() {
const variantData = data.variant || {"id":"bcc23727-f22f-4caa-ac8f-9097aecfc5a0","product_id":"a1cd9fca-f525-4cfc-90fe-442cfca9f08d","title":"Beige-S","weight_unit":"g","inventory_quantity":0,"sku":"CAF-1220310049_BGE_S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/963a47e7fd7353a0d29c6aa3b96c36b2.webp","path":"963a47e7fd7353a0d29c6aa3b96c36b2.webp","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.49,"min_quantity":1}],"weight":"150","compare_at_price":"41.75","price":"35.49","retail_price":"41.75","available":true,"url":"\/products\/butt-lifter-compression-garment-front-closure-tummy-control?variant=bcc23727-f22f-4caa-ac8f-9097aecfc5a0","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"bcc23727-f22f-4caa-ac8f-9097aecfc5a0","product_id":"a1cd9fca-f525-4cfc-90fe-442cfca9f08d","title":"Beige-S","weight_unit":"g","inventory_quantity":0,"sku":"CAF-1220310049_BGE_S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/963a47e7fd7353a0d29c6aa3b96c36b2.webp","path":"963a47e7fd7353a0d29c6aa3b96c36b2.webp","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.49,"min_quantity":1}],"weight":"150","compare_at_price":"41.75","price":"35.49","retail_price":"41.75","available":true,"url":"\/products\/butt-lifter-compression-garment-front-closure-tummy-control?variant=bcc23727-f22f-4caa-ac8f-9097aecfc5a0","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}