Lazy Doll Sleeve Knit Shawl Sweater Cardigan
${function() {
const variantData = data.variant || {"id":"a058752c-cb30-430f-84a3-9c0837854d7c","product_id":"d9e273c8-51d4-4962-9b1e-4c5596ad8d20","title":"gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211091537-gray-one size","barcode":"","position":3,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38a187bd8f235ff88edc8033898ab061.jpeg","path":"38a187bd8f235ff88edc8033898ab061.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.43","compare_at_price":"55.61","price":"45.6","retail_price":"55.61","available":true,"url":"\/products\/lazy-doll-sleeve-knit-shawl-sweater-cardigan?variant=a058752c-cb30-430f-84a3-9c0837854d7c","available_quantity":999999999,"options":[{"name":"color","value":"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":"a058752c-cb30-430f-84a3-9c0837854d7c","product_id":"d9e273c8-51d4-4962-9b1e-4c5596ad8d20","title":"gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211091537-gray-one size","barcode":"","position":3,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38a187bd8f235ff88edc8033898ab061.jpeg","path":"38a187bd8f235ff88edc8033898ab061.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.43","compare_at_price":"55.61","price":"45.6","retail_price":"55.61","available":true,"url":"\/products\/lazy-doll-sleeve-knit-shawl-sweater-cardigan?variant=a058752c-cb30-430f-84a3-9c0837854d7c","available_quantity":999999999,"options":[{"name":"color","value":"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 `
`;
}()}