Lapel Striped Vintage Vest
${function() {
const variantData = data.variant || {"id":"fd1cbe3a-7748-464f-96c6-5d07ff1ecc1a","product_id":"03798219-811e-49e2-8c62-f597d310d977","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141625-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/698353a1ca353352b8e6c028842181a0.jpeg","path":"698353a1ca353352b8e6c028842181a0.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.25,"min_quantity":1}],"weight":"0.28","compare_at_price":"61.47","price":"52.25","retail_price":"61.47","available":true,"url":"\/products\/lapel-striped-vintage-vest?variant=fd1cbe3a-7748-464f-96c6-5d07ff1ecc1a","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":15,"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":"fd1cbe3a-7748-464f-96c6-5d07ff1ecc1a","product_id":"03798219-811e-49e2-8c62-f597d310d977","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141625-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/698353a1ca353352b8e6c028842181a0.jpeg","path":"698353a1ca353352b8e6c028842181a0.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.25,"min_quantity":1}],"weight":"0.28","compare_at_price":"61.47","price":"52.25","retail_price":"61.47","available":true,"url":"\/products\/lapel-striped-vintage-vest?variant=fd1cbe3a-7748-464f-96c6-5d07ff1ecc1a","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":15,"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 `
`;
}()}