Niche Design New Loose Cozy Cardigan
${function() {
const variantData = data.variant || {"id":"1c47eb75-5f20-4fd2-9182-81f64a920f36","product_id":"8b3f8e56-560e-46e5-aba7-43346c6d77a3","title":"Green-One Size\u301045-62KG\u3011","weight_unit":"kg","inventory_quantity":48365,"sku":"221027883-Green-One Size\u301045-62KG\u3011","barcode":"","position":3,"option1":"Green","option2":"One Size\u301045-62KG\u3011","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9acf44cd0816c3b86233350c4d2c8353.jpeg","path":"9acf44cd0816c3b86233350c4d2c8353.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.39,"min_quantity":1}],"weight":"0.6","compare_at_price":"53.4","price":"45.39","retail_price":"53.4","available":true,"url":"\/products\/niche-design-new-loose-cozy-cardigan?variant=1c47eb75-5f20-4fd2-9182-81f64a920f36","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One Size\u301045-62KG\u3011"}],"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":"1c47eb75-5f20-4fd2-9182-81f64a920f36","product_id":"8b3f8e56-560e-46e5-aba7-43346c6d77a3","title":"Green-One Size\u301045-62KG\u3011","weight_unit":"kg","inventory_quantity":48365,"sku":"221027883-Green-One Size\u301045-62KG\u3011","barcode":"","position":3,"option1":"Green","option2":"One Size\u301045-62KG\u3011","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9acf44cd0816c3b86233350c4d2c8353.jpeg","path":"9acf44cd0816c3b86233350c4d2c8353.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.39,"min_quantity":1}],"weight":"0.6","compare_at_price":"53.4","price":"45.39","retail_price":"53.4","available":true,"url":"\/products\/niche-design-new-loose-cozy-cardigan?variant=1c47eb75-5f20-4fd2-9182-81f64a920f36","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One Size\u301045-62KG\u3011"}],"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 `
`;
}()}