Tie Dye Printed Summer Beach Dress
${function() {
const variantData = data.variant || {"id":"96a6f368-549c-4d86-8795-34836fefa609","product_id":"6b019cf1-5785-45ec-be20-ba427636d1a9","title":"Red-S","weight_unit":"kg","inventory_quantity":88871,"sku":"BL2304102815-Red-S","barcode":"","position":17,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4fe3ae66e1b047a4132f1e15f12a423e.jpeg","path":"4fe3ae66e1b047a4132f1e15f12a423e.jpeg","width":916,"height":1221,"alt":"","aspect_ratio":0.7502047502047502},"wholesale_price":[{"price":28.97,"min_quantity":1}],"weight":"0.33","compare_at_price":"38.5","price":"28.97","retail_price":"38.5","available":true,"url":"\/products\/tie-dye-printed-summer-beach-dress?variant=96a6f368-549c-4d86-8795-34836fefa609","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":25,"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":"96a6f368-549c-4d86-8795-34836fefa609","product_id":"6b019cf1-5785-45ec-be20-ba427636d1a9","title":"Red-S","weight_unit":"kg","inventory_quantity":88871,"sku":"BL2304102815-Red-S","barcode":"","position":17,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4fe3ae66e1b047a4132f1e15f12a423e.jpeg","path":"4fe3ae66e1b047a4132f1e15f12a423e.jpeg","width":916,"height":1221,"alt":"","aspect_ratio":0.7502047502047502},"wholesale_price":[{"price":28.97,"min_quantity":1}],"weight":"0.33","compare_at_price":"38.5","price":"28.97","retail_price":"38.5","available":true,"url":"\/products\/tie-dye-printed-summer-beach-dress?variant=96a6f368-549c-4d86-8795-34836fefa609","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":25,"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 `
`;
}()}