One shoulder cutout print dress
${function() {
const variantData = data.variant || {"id":"ca4889d5-7d1a-4018-b5c7-2da8f5626e38","product_id":"ac61f53e-31db-4dc7-bfb2-34451ca8d47e","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"6623071927-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e65e76d73726fe2d9f8fad697cae7895.jpeg","path":"e65e76d73726fe2d9f8fad697cae7895.jpeg","width":668,"height":836,"alt":"","aspect_ratio":0.7990430622009569},"wholesale_price":[{"price":55.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"75.04","price":"55.79","retail_price":"75.04","available":true,"url":"\/products\/one-shoulder-cutout-print-dress-nlkn?variant=ca4889d5-7d1a-4018-b5c7-2da8f5626e38","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":26,"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":"ca4889d5-7d1a-4018-b5c7-2da8f5626e38","product_id":"ac61f53e-31db-4dc7-bfb2-34451ca8d47e","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"6623071927-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e65e76d73726fe2d9f8fad697cae7895.jpeg","path":"e65e76d73726fe2d9f8fad697cae7895.jpeg","width":668,"height":836,"alt":"","aspect_ratio":0.7990430622009569},"wholesale_price":[{"price":55.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"75.04","price":"55.79","retail_price":"75.04","available":true,"url":"\/products\/one-shoulder-cutout-print-dress-nlkn?variant=ca4889d5-7d1a-4018-b5c7-2da8f5626e38","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":26,"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 `
`;
}()}