Elegant Solid Color Pleated Midi Dress
${function() {
const variantData = data.variant || {"id":"cb51fe57-d45b-4a91-aec1-127bd118eb8d","product_id":"0a112953-5bf4-42c0-b39a-3b3a36cc764b","title":"Beige-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230505680-Beige-S","barcode":"","position":5,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4bc81f850757ef291f654e78c9b9701.jpeg","path":"c4bc81f850757ef291f654e78c9b9701.jpeg","width":1079,"height":1919,"alt":"","aspect_ratio":0.5622720166753518},"wholesale_price":[{"price":38.4,"min_quantity":1}],"weight":"0.3","compare_at_price":"61.6","price":"38.4","retail_price":"61.6","available":true,"url":"\/products\/elegant-solid-color-pleated-midi-dress?variant=cb51fe57-d45b-4a91-aec1-127bd118eb8d","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":38,"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":"cb51fe57-d45b-4a91-aec1-127bd118eb8d","product_id":"0a112953-5bf4-42c0-b39a-3b3a36cc764b","title":"Beige-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230505680-Beige-S","barcode":"","position":5,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4bc81f850757ef291f654e78c9b9701.jpeg","path":"c4bc81f850757ef291f654e78c9b9701.jpeg","width":1079,"height":1919,"alt":"","aspect_ratio":0.5622720166753518},"wholesale_price":[{"price":38.4,"min_quantity":1}],"weight":"0.3","compare_at_price":"61.6","price":"38.4","retail_price":"61.6","available":true,"url":"\/products\/elegant-solid-color-pleated-midi-dress?variant=cb51fe57-d45b-4a91-aec1-127bd118eb8d","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"\u5c3a\u7801","value":"S"}],"off_ratio":38,"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 `
`;
}()}