Abstract Floral Printing Backless Dress
${function() {
const variantData = data.variant || {"id":"eab405e0-710e-4641-b5c2-c54eb7304945","product_id":"9072d729-b125-4a35-b066-0f930cf17869","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303312113-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6d20e5797fd88b8fe6f2a17252ae2ce.png","path":"a6d20e5797fd88b8fe6f2a17252ae2ce.png","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":40.86,"min_quantity":1}],"weight":"0.2","compare_at_price":"55","price":"40.86","retail_price":"55","available":true,"url":"\/products\/abstract-floral-printing-backless-dress?variant=eab405e0-710e-4641-b5c2-c54eb7304945","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":10};
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":"eab405e0-710e-4641-b5c2-c54eb7304945","product_id":"9072d729-b125-4a35-b066-0f930cf17869","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303312113-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6d20e5797fd88b8fe6f2a17252ae2ce.png","path":"a6d20e5797fd88b8fe6f2a17252ae2ce.png","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":40.86,"min_quantity":1}],"weight":"0.2","compare_at_price":"55","price":"40.86","retail_price":"55","available":true,"url":"\/products\/abstract-floral-printing-backless-dress?variant=eab405e0-710e-4641-b5c2-c54eb7304945","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":10};
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 `
`;
}()}