Autumn and winter neck brace knitted cape shawl
${function() {
const variantData = data.variant || {"id":"5be34572-cdc0-4365-9d63-0326c5fe262c","product_id":"8911e442-3125-4bca-a44f-70c6754bfd1d","title":"black-CC","weight_unit":"kg","inventory_quantity":0,"sku":"662211041408-black-CC","barcode":"","position":1,"option1":"black-CC","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e56f344d2a508392c7da3d49dbe2523.jpeg","path":"7e56f344d2a508392c7da3d49dbe2523.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.33,"min_quantity":1}],"weight":"0.35","compare_at_price":"49.8","price":"42.33","retail_price":"49.8","available":true,"url":"\/products\/autumn-and-winter-neck-brace-knitted-cape-shawl?variant=5be34572-cdc0-4365-9d63-0326c5fe262c","available_quantity":999999999,"options":[{"name":"color","value":"black-CC"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"5be34572-cdc0-4365-9d63-0326c5fe262c","product_id":"8911e442-3125-4bca-a44f-70c6754bfd1d","title":"black-CC","weight_unit":"kg","inventory_quantity":0,"sku":"662211041408-black-CC","barcode":"","position":1,"option1":"black-CC","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e56f344d2a508392c7da3d49dbe2523.jpeg","path":"7e56f344d2a508392c7da3d49dbe2523.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.33,"min_quantity":1}],"weight":"0.35","compare_at_price":"49.8","price":"42.33","retail_price":"49.8","available":true,"url":"\/products\/autumn-and-winter-neck-brace-knitted-cape-shawl?variant=5be34572-cdc0-4365-9d63-0326c5fe262c","available_quantity":999999999,"options":[{"name":"color","value":"black-CC"}],"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 `
`;
}()}