Casual Loose V-neck Printed Long Dress
${function() {
const variantData = data.variant || {"id":"43e8129a-8dd5-4aa9-8f36-1e630bc6cb10","product_id":"4d2ae15c-f268-4241-a431-bbcb4cfbc0d6","title":"Purple-S","weight_unit":"kg","inventory_quantity":984,"sku":"BL230509889-Purple-S","barcode":"","position":13,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f3baa74e21888b5acfe41cf9b9a78f5.jpeg","path":"8f3baa74e21888b5acfe41cf9b9a78f5.jpeg","width":650,"height":867,"alt":"","aspect_ratio":0.7497116493656286},"wholesale_price":[{"price":35.67,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35.67","retail_price":"55","available":true,"url":"\/products\/casual-loose-v-neck-printed-long-dress?variant=43e8129a-8dd5-4aa9-8f36-1e630bc6cb10","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":1};
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":"43e8129a-8dd5-4aa9-8f36-1e630bc6cb10","product_id":"4d2ae15c-f268-4241-a431-bbcb4cfbc0d6","title":"Purple-S","weight_unit":"kg","inventory_quantity":984,"sku":"BL230509889-Purple-S","barcode":"","position":13,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f3baa74e21888b5acfe41cf9b9a78f5.jpeg","path":"8f3baa74e21888b5acfe41cf9b9a78f5.jpeg","width":650,"height":867,"alt":"","aspect_ratio":0.7497116493656286},"wholesale_price":[{"price":35.67,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35.67","retail_price":"55","available":true,"url":"\/products\/casual-loose-v-neck-printed-long-dress?variant=43e8129a-8dd5-4aa9-8f36-1e630bc6cb10","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":1};
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 `
`;
}()}