Long Sleeve Loose Cotton Shirt
${function() {
const variantData = data.variant || {"id":"9f3d1a85-653b-447f-b793-09b3c07f79cc","product_id":"46237b92-9172-4d29-a803-4088b057794e","title":"fuchsia-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230309399-fuchsia-S","barcode":"","position":17,"option1":"fuchsia","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9cc3cb21a2f56f8e1e7c89584c8eb61.jpeg","path":"c9cc3cb21a2f56f8e1e7c89584c8eb61.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.79,"min_quantity":1}],"weight":"0.6","compare_at_price":"45","price":"36.79","retail_price":"45","available":true,"url":"\/products\/long-sleeve-loose-cotton-shirt?variant=9f3d1a85-653b-447f-b793-09b3c07f79cc","available_quantity":999999999,"options":[{"name":"color","value":"fuchsia"},{"name":"size","value":"S"}],"off_ratio":18,"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":"9f3d1a85-653b-447f-b793-09b3c07f79cc","product_id":"46237b92-9172-4d29-a803-4088b057794e","title":"fuchsia-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230309399-fuchsia-S","barcode":"","position":17,"option1":"fuchsia","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9cc3cb21a2f56f8e1e7c89584c8eb61.jpeg","path":"c9cc3cb21a2f56f8e1e7c89584c8eb61.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":36.79,"min_quantity":1}],"weight":"0.6","compare_at_price":"45","price":"36.79","retail_price":"45","available":true,"url":"\/products\/long-sleeve-loose-cotton-shirt?variant=9f3d1a85-653b-447f-b793-09b3c07f79cc","available_quantity":999999999,"options":[{"name":"color","value":"fuchsia"},{"name":"size","value":"S"}],"off_ratio":18,"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 `
`;
}()}