News Short-sleeved solid-color Jumpsuits
${function() {
const variantData = data.variant || {"id":"f1a53379-a2ce-4238-bcb5-eee8789e208d","product_id":"6f1ca944-b038-4ed8-a3da-3bf63a94ca93","title":"orange-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011905-orange-s","barcode":"","position":2,"option1":"orange","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a9865a322cd52e33ce3d85b5ce1044.jpeg","path":"e8a9865a322cd52e33ce3d85b5ce1044.jpeg","width":651,"height":820,"alt":"","aspect_ratio":0.7939024390243903},"wholesale_price":[{"price":37.55,"min_quantity":1}],"weight":"0","compare_at_price":"47.3","price":"37.55","retail_price":"47.3","available":true,"url":"\/products\/news-short-sleeved-solid-color-jumpsuits?variant=f1a53379-a2ce-4238-bcb5-eee8789e208d","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"name":"size","value":"s"}],"off_ratio":21,"flashsale_info":[],"sales":1};
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":"f1a53379-a2ce-4238-bcb5-eee8789e208d","product_id":"6f1ca944-b038-4ed8-a3da-3bf63a94ca93","title":"orange-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011905-orange-s","barcode":"","position":2,"option1":"orange","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a9865a322cd52e33ce3d85b5ce1044.jpeg","path":"e8a9865a322cd52e33ce3d85b5ce1044.jpeg","width":651,"height":820,"alt":"","aspect_ratio":0.7939024390243903},"wholesale_price":[{"price":37.55,"min_quantity":1}],"weight":"0","compare_at_price":"47.3","price":"37.55","retail_price":"47.3","available":true,"url":"\/products\/news-short-sleeved-solid-color-jumpsuits?variant=f1a53379-a2ce-4238-bcb5-eee8789e208d","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"name":"size","value":"s"}],"off_ratio":21,"flashsale_info":[],"sales":1};
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 `
`;
}()}