Belt Design Flying Sleeve Narrow Waist Dress
${function() {
const variantData = data.variant || {"id":"a1112878-bbb0-4245-84ce-02f7b288dc25","product_id":"cb1c5cf0-1f00-4e62-8e2c-5ed7c542e008","title":"grass green-XXS","weight_unit":"kg","inventory_quantity":0,"sku":"66230427409-grass green-XXS","barcode":"","position":9,"option1":"grass green","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/907d8e9c988703676bd4c82caa190918.jpeg","path":"907d8e9c988703676bd4c82caa190918.jpeg","width":1440,"height":1919,"alt":"","aspect_ratio":0.7503908285565398},"wholesale_price":[{"price":34.79,"min_quantity":1}],"weight":"0.48","compare_at_price":"45","price":"34.79","retail_price":"45","available":true,"url":"\/products\/belt-design-flying-sleeve-narrow-waist-dress-e89o?variant=a1112878-bbb0-4245-84ce-02f7b288dc25","available_quantity":999999999,"options":[{"name":"color","value":"grass green"},{"name":"size","value":"XXS"}],"off_ratio":23,"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":"a1112878-bbb0-4245-84ce-02f7b288dc25","product_id":"cb1c5cf0-1f00-4e62-8e2c-5ed7c542e008","title":"grass green-XXS","weight_unit":"kg","inventory_quantity":0,"sku":"66230427409-grass green-XXS","barcode":"","position":9,"option1":"grass green","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/907d8e9c988703676bd4c82caa190918.jpeg","path":"907d8e9c988703676bd4c82caa190918.jpeg","width":1440,"height":1919,"alt":"","aspect_ratio":0.7503908285565398},"wholesale_price":[{"price":34.79,"min_quantity":1}],"weight":"0.48","compare_at_price":"45","price":"34.79","retail_price":"45","available":true,"url":"\/products\/belt-design-flying-sleeve-narrow-waist-dress-e89o?variant=a1112878-bbb0-4245-84ce-02f7b288dc25","available_quantity":999999999,"options":[{"name":"color","value":"grass green"},{"name":"size","value":"XXS"}],"off_ratio":23,"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 `
`;
}()}