Men Fashion Sun Print T-shirt
${function() {
const variantData = data.variant || {"id":"27c58032-4f68-4ff3-b915-72571292c9b2","product_id":"f46446dc-742d-486a-82f7-9d211a6aecfa","title":"Light purple-XL","weight_unit":"g","inventory_quantity":999,"sku":"1421361321479757826","barcode":"","position":1,"option1":"Light purple","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/039a1b39b8bddd691288a5124c13db4d.jpeg","path":"039a1b39b8bddd691288a5124c13db4d.jpeg","width":800,"height":800,"alt":"Men Fashion Sun Print T-shirt","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"23.99","retail_price":"47.99","available":true,"url":"\/products\/men-fashion-sun-print-t-shirt?variant=27c58032-4f68-4ff3-b915-72571292c9b2","available_quantity":999999999,"options":[{"name":"Color","value":"Light purple"},{"name":"Size","value":"XL"}],"off_ratio":50,"flashsale_info":[],"sales":31};
const saveType = "percentage";
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 postageFreeAmount = 89;
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 `
`;
}()}
Free Shipping on Orders Over $89