Backless With Lace Element Long Maxi Dress
${function() {
const variantData = data.variant || {"id":"88e2e0e4-ffd6-43f2-99a0-22131dd915e0","product_id":"a89d5cf4-8fb5-4519-b0f4-633141ea5e4b","title":"White-S","weight_unit":"kg","inventory_quantity":8832,"sku":"2301303591-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5232256861a5d009f83f63f6979dfa57.jpeg","path":"5232256861a5d009f83f63f6979dfa57.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":72.31,"min_quantity":1}],"weight":"0.4","compare_at_price":"82","price":"72.31","retail_price":"82","available":true,"url":"\/products\/backless-with-lace-element-long-maxi-dress?variant=88e2e0e4-ffd6-43f2-99a0-22131dd915e0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":12,"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":"88e2e0e4-ffd6-43f2-99a0-22131dd915e0","product_id":"a89d5cf4-8fb5-4519-b0f4-633141ea5e4b","title":"White-S","weight_unit":"kg","inventory_quantity":8832,"sku":"2301303591-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5232256861a5d009f83f63f6979dfa57.jpeg","path":"5232256861a5d009f83f63f6979dfa57.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":72.31,"min_quantity":1}],"weight":"0.4","compare_at_price":"82","price":"72.31","retail_price":"82","available":true,"url":"\/products\/backless-with-lace-element-long-maxi-dress?variant=88e2e0e4-ffd6-43f2-99a0-22131dd915e0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":12,"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 `
`;
}()}