Fearless Print Short Sleeve T-Shirt
${function() {
const variantData = data.variant || {"id":"92894f20-5e59-4ca1-a5c5-d7bfa7c7d30b","product_id":"05982a34-a3e4-4930-b4a1-d003a377577b","title":"Coffee-S","weight_unit":"g","inventory_quantity":999,"sku":"XHWG2cNSb-Coffee-S","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83526fe474982736451ee3b2c315e7b0.jpeg","path":"83526fe474982736451ee3b2c315e7b0.jpeg","width":1330,"height":1330,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/fearless-print-short-sleeve-t-shirt-srt2?variant=92894f20-5e59-4ca1-a5c5-d7bfa7c7d30b","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
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.
Sku : XHWG2cNSb-Coffee-S
Weight : 200g
${function(){
const variantData = data.variant || {"id":"92894f20-5e59-4ca1-a5c5-d7bfa7c7d30b","product_id":"05982a34-a3e4-4930-b4a1-d003a377577b","title":"Coffee-S","weight_unit":"g","inventory_quantity":999,"sku":"XHWG2cNSb-Coffee-S","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83526fe474982736451ee3b2c315e7b0.jpeg","path":"83526fe474982736451ee3b2c315e7b0.jpeg","width":1330,"height":1330,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/fearless-print-short-sleeve-t-shirt-srt2?variant=92894f20-5e59-4ca1-a5c5-d7bfa7c7d30b","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 79;
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 `
`;
}()}