Summer cotton linen flying sleeve princess dress
${function() {
const variantData = data.variant || {"id":"203f42ce-d46e-433f-8649-92a84546e6f2","product_id":"00988260-02a7-499f-9afb-45686341048b","title":"green-80cm","weight_unit":"kg","inventory_quantity":0,"sku":"662303025159-green-80cm","barcode":"","position":11,"option1":"green","option2":"80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0bff4fb5074dc97f37802fb8c49beb23.jpeg","path":"0bff4fb5074dc97f37802fb8c49beb23.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"0.2","compare_at_price":"42","price":"30.89","retail_price":"42","available":true,"url":"\/products\/summer-cotton-linen-flying-sleeve-princess-dress?variant=203f42ce-d46e-433f-8649-92a84546e6f2","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"height","value":"80cm"}],"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":"203f42ce-d46e-433f-8649-92a84546e6f2","product_id":"00988260-02a7-499f-9afb-45686341048b","title":"green-80cm","weight_unit":"kg","inventory_quantity":0,"sku":"662303025159-green-80cm","barcode":"","position":11,"option1":"green","option2":"80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0bff4fb5074dc97f37802fb8c49beb23.jpeg","path":"0bff4fb5074dc97f37802fb8c49beb23.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.89,"min_quantity":1}],"weight":"0.2","compare_at_price":"42","price":"30.89","retail_price":"42","available":true,"url":"\/products\/summer-cotton-linen-flying-sleeve-princess-dress?variant=203f42ce-d46e-433f-8649-92a84546e6f2","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"height","value":"80cm"}],"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 `
`;
}()}