Candy Stripe Maxi Dress
${function() {
const variantData = data.variant || {"id":"5775693e-053e-4e7e-a9b2-e48c8eb33b4a","product_id":"9606b6e4-bbad-4985-8561-a6e036141d7e","title":"Pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404239408-Pink-S","barcode":"","position":5,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab3865941499581233a616ebe6827c5e.jpeg","path":"ab3865941499581233a616ebe6827c5e.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":43.65,"min_quantity":1}],"weight":"340","compare_at_price":"50","price":"43.65","retail_price":"50","available":true,"url":"\/products\/candy-stripe-maxi-dress?variant=5775693e-053e-4e7e-a9b2-e48c8eb33b4a","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":13,"flashsale_info":[],"sales":2};
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":"5775693e-053e-4e7e-a9b2-e48c8eb33b4a","product_id":"9606b6e4-bbad-4985-8561-a6e036141d7e","title":"Pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"BLK2404239408-Pink-S","barcode":"","position":5,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab3865941499581233a616ebe6827c5e.jpeg","path":"ab3865941499581233a616ebe6827c5e.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":43.65,"min_quantity":1}],"weight":"340","compare_at_price":"50","price":"43.65","retail_price":"50","available":true,"url":"\/products\/candy-stripe-maxi-dress?variant=5775693e-053e-4e7e-a9b2-e48c8eb33b4a","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":13,"flashsale_info":[],"sales":2};
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 `
`;
}()}