Long Sleeves Candy Color Fashion Suit
${function() {
const variantData = data.variant || {"id":"8c663a74-b4aa-4d69-ae7c-ab99aa62ded8","product_id":"3084092c-fb16-46e5-a497-4280224e7e67","title":"Army Green-L","weight_unit":"kg","inventory_quantity":1000,"sku":"220514436-Army Green-L","barcode":"","position":1,"option1":"Army Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88c5351418ca831e3672549617b46af3.jpeg","path":"88c5351418ca831e3672549617b46af3.jpeg","width":1023,"height":963,"alt":"","aspect_ratio":1.0623052959501558},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/long-sleeves-candy-color-fashion-suit?variant=8c663a74-b4aa-4d69-ae7c-ab99aa62ded8","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"SIZE","value":"L"}],"off_ratio":17,"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":"8c663a74-b4aa-4d69-ae7c-ab99aa62ded8","product_id":"3084092c-fb16-46e5-a497-4280224e7e67","title":"Army Green-L","weight_unit":"kg","inventory_quantity":1000,"sku":"220514436-Army Green-L","barcode":"","position":1,"option1":"Army Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88c5351418ca831e3672549617b46af3.jpeg","path":"88c5351418ca831e3672549617b46af3.jpeg","width":1023,"height":963,"alt":"","aspect_ratio":1.0623052959501558},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/long-sleeves-candy-color-fashion-suit?variant=8c663a74-b4aa-4d69-ae7c-ab99aa62ded8","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"SIZE","value":"L"}],"off_ratio":17,"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 `
`;
}()}