Simple Pleated Leisure Dress
${function() {
const variantData = data.variant || {"id":"532a8f6d-e9f7-4ddd-be8e-8b7b6a81fb6b","product_id":"80c7fcb0-4771-4462-93d4-275ec835acaa","title":"Brown-White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404269878-Brown-White-S","barcode":"","position":7,"option1":"Brown-White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2f8b541e6c29743c73b761390da6867.jpeg","path":"d2f8b541e6c29743c73b761390da6867.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":47.66,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"47.66","retail_price":"60","available":true,"url":"\/products\/simple-pleated-leisure-dress?variant=532a8f6d-e9f7-4ddd-be8e-8b7b6a81fb6b","available_quantity":999999999,"options":[{"name":"Color","value":"Brown-White"},{"name":"Size","value":"S"}],"off_ratio":21,"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":"532a8f6d-e9f7-4ddd-be8e-8b7b6a81fb6b","product_id":"80c7fcb0-4771-4462-93d4-275ec835acaa","title":"Brown-White-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404269878-Brown-White-S","barcode":"","position":7,"option1":"Brown-White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2f8b541e6c29743c73b761390da6867.jpeg","path":"d2f8b541e6c29743c73b761390da6867.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":47.66,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"47.66","retail_price":"60","available":true,"url":"\/products\/simple-pleated-leisure-dress?variant=532a8f6d-e9f7-4ddd-be8e-8b7b6a81fb6b","available_quantity":999999999,"options":[{"name":"Color","value":"Brown-White"},{"name":"Size","value":"S"}],"off_ratio":21,"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 `
`;
}()}