Sunflower Printed Mesh Dress
${function() {
const variantData = data.variant || {"id":"26464136-a68b-44de-800a-54b82e7ee013","product_id":"c525adae-4da3-4741-a3d1-add8f7d45315","title":"As it-S","weight_unit":"kg","inventory_quantity":2879,"sku":"BL2304203629-As it-S","barcode":"","position":1,"option1":"As it","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1136e5cecbde00b1fc2f7f3f2672c1a5.jpeg","path":"1136e5cecbde00b1fc2f7f3f2672c1a5.jpeg","width":1060,"height":1420,"alt":"","aspect_ratio":0.7464788732394366},"wholesale_price":[{"price":31.65,"min_quantity":1}],"weight":"0.25","compare_at_price":"49.5","price":"31.65","retail_price":"49.5","available":true,"url":"\/products\/sunflower-printed-mesh-dress?variant=26464136-a68b-44de-800a-54b82e7ee013","available_quantity":999999999,"options":[{"name":"Color","value":"As it"},{"name":"Size","value":"S"}],"off_ratio":36,"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":"26464136-a68b-44de-800a-54b82e7ee013","product_id":"c525adae-4da3-4741-a3d1-add8f7d45315","title":"As it-S","weight_unit":"kg","inventory_quantity":2879,"sku":"BL2304203629-As it-S","barcode":"","position":1,"option1":"As it","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1136e5cecbde00b1fc2f7f3f2672c1a5.jpeg","path":"1136e5cecbde00b1fc2f7f3f2672c1a5.jpeg","width":1060,"height":1420,"alt":"","aspect_ratio":0.7464788732394366},"wholesale_price":[{"price":31.65,"min_quantity":1}],"weight":"0.25","compare_at_price":"49.5","price":"31.65","retail_price":"49.5","available":true,"url":"\/products\/sunflower-printed-mesh-dress?variant=26464136-a68b-44de-800a-54b82e7ee013","available_quantity":999999999,"options":[{"name":"Color","value":"As it"},{"name":"Size","value":"S"}],"off_ratio":36,"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 `
`;
}()}