Contrast color sleeveless slim sexy dress
${function() {
const variantData = data.variant || {"id":"dafc8f3d-3060-4c54-acc1-62d2b3456e36","product_id":"a4807fcb-e7f9-45c8-a946-38d4ddad2aba","title":"Black-XS","weight_unit":"kg","inventory_quantity":0,"sku":"6624050710740-Black-XS","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c0d099b4a91acc5693f8869fbcdd34d4.jpeg","path":"c0d099b4a91acc5693f8869fbcdd34d4.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":42.59,"min_quantity":1}],"weight":"360","compare_at_price":"60","price":"42.59","retail_price":"60","available":true,"url":"\/products\/contrast-color-sleeveless-slim-sexy-dress?variant=dafc8f3d-3060-4c54-acc1-62d2b3456e36","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":29,"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":"dafc8f3d-3060-4c54-acc1-62d2b3456e36","product_id":"a4807fcb-e7f9-45c8-a946-38d4ddad2aba","title":"Black-XS","weight_unit":"kg","inventory_quantity":0,"sku":"6624050710740-Black-XS","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c0d099b4a91acc5693f8869fbcdd34d4.jpeg","path":"c0d099b4a91acc5693f8869fbcdd34d4.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":42.59,"min_quantity":1}],"weight":"360","compare_at_price":"60","price":"42.59","retail_price":"60","available":true,"url":"\/products\/contrast-color-sleeveless-slim-sexy-dress?variant=dafc8f3d-3060-4c54-acc1-62d2b3456e36","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":29,"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 `
`;
}()}