Retro V-Neck Lazy Twist Outer Vest
${function() {
const variantData = data.variant || {"id":"90f69a57-7778-47fb-a574-4efea405760b","product_id":"4aa4c9b2-2611-408e-8b6a-dc3a9e00a365","title":"dark gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141626-dark gray-one size","barcode":"","position":3,"option1":"dark gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82a6be4f2ac67d192620b38d1f279d30.jpeg","path":"82a6be4f2ac67d192620b38d1f279d30.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":40.85,"min_quantity":1}],"weight":"0.33","compare_at_price":"49.82","price":"40.85","retail_price":"49.82","available":true,"url":"\/products\/retro-v-neck-lazy-twist-outer-vest?variant=90f69a57-7778-47fb-a574-4efea405760b","available_quantity":999999999,"options":[{"name":"color","value":"dark gray"},{"name":"size","value":"one size"}],"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":"90f69a57-7778-47fb-a574-4efea405760b","product_id":"4aa4c9b2-2611-408e-8b6a-dc3a9e00a365","title":"dark gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141626-dark gray-one size","barcode":"","position":3,"option1":"dark gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82a6be4f2ac67d192620b38d1f279d30.jpeg","path":"82a6be4f2ac67d192620b38d1f279d30.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":40.85,"min_quantity":1}],"weight":"0.33","compare_at_price":"49.82","price":"40.85","retail_price":"49.82","available":true,"url":"\/products\/retro-v-neck-lazy-twist-outer-vest?variant=90f69a57-7778-47fb-a574-4efea405760b","available_quantity":999999999,"options":[{"name":"color","value":"dark gray"},{"name":"size","value":"one size"}],"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 `
`;
}()}