Colorblock Letter Stripe Print Crew-neck Sweatshirt
${function() {
const variantData = data.variant || {"id":"cfcacfb4-e569-4c23-a365-bdcdaf7631be","product_id":"1c4d3e19-f9d8-43e4-b2df-de776c9b86ae","title":"white-M","weight_unit":"g","inventory_quantity":999,"sku":"1579774350144356353","barcode":"","position":7,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5770503ec5b5da089a74d99d08e82dbd.jpeg","path":"5770503ec5b5da089a74d99d08e82dbd.jpeg","width":800,"height":800,"alt":"Colorblock Letter Stripe Print Crew-neck Sweatshirt Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":32.95,"min_quantity":1}],"weight":"400","compare_at_price":"39.95","price":"32.95","retail_price":"39.95","available":true,"url":"\/products\/colorblock-letter-stripe-print-crew-neck-sweatshirt?variant=cfcacfb4-e569-4c23-a365-bdcdaf7631be","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":18,"flashsale_info":[],"sales":1};
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 variantData = data.variant || {"id":"cfcacfb4-e569-4c23-a365-bdcdaf7631be","product_id":"1c4d3e19-f9d8-43e4-b2df-de776c9b86ae","title":"white-M","weight_unit":"g","inventory_quantity":999,"sku":"1579774350144356353","barcode":"","position":7,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5770503ec5b5da089a74d99d08e82dbd.jpeg","path":"5770503ec5b5da089a74d99d08e82dbd.jpeg","width":800,"height":800,"alt":"Colorblock Letter Stripe Print Crew-neck Sweatshirt Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":32.95,"min_quantity":1}],"weight":"400","compare_at_price":"39.95","price":"32.95","retail_price":"39.95","available":true,"url":"\/products\/colorblock-letter-stripe-print-crew-neck-sweatshirt?variant=cfcacfb4-e569-4c23-a365-bdcdaf7631be","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":18,"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 `
`;
}()}