Chic New Backless Lace-up Dress
${function() {
const variantData = data.variant || {"id":"d969c19d-07e9-4e6c-9423-158a6fa13bd6","product_id":"613c921b-daf3-48d4-9620-a13b88f9e683","title":"Red-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin210811204-Red-2XL","barcode":"","position":1,"option1":"Red","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/efa950443baf77d470a9a74743973ed6.jpeg","path":"efa950443baf77d470a9a74743973ed6.jpeg","width":1080,"height":1350,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.56,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"39.56","retail_price":"55","available":true,"url":"\/products\/chic-new-backless-lace-up-dress-xaoa?variant=d969c19d-07e9-4e6c-9423-158a6fa13bd6","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"2XL"}],"off_ratio":28,"flashsale_info":[],"sales":6};
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":"d969c19d-07e9-4e6c-9423-158a6fa13bd6","product_id":"613c921b-daf3-48d4-9620-a13b88f9e683","title":"Red-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin210811204-Red-2XL","barcode":"","position":1,"option1":"Red","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/efa950443baf77d470a9a74743973ed6.jpeg","path":"efa950443baf77d470a9a74743973ed6.jpeg","width":1080,"height":1350,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.56,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"39.56","retail_price":"55","available":true,"url":"\/products\/chic-new-backless-lace-up-dress-xaoa?variant=d969c19d-07e9-4e6c-9423-158a6fa13bd6","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"2XL"}],"off_ratio":28,"flashsale_info":[],"sales":6};
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 `
`;
}()}