Cotton and linen light luxury geometric fringe sofa pillow
${function() {
const variantData = data.variant || {"id":"4d34c519-3a8c-4180-874e-9084f2c5ed8b","product_id":"8406f1bb-848c-465a-9e89-c113ceececf2","title":"tufted-pillowcase45x45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292232-tufted-pillowcase45x45cm","barcode":"","position":1,"option1":"tufted","option2":"pillowcase45x45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05cf498ce0efd6f3bb4e7e4687502dc4.png","path":"05cf498ce0efd6f3bb4e7e4687502dc4.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.08,"min_quantity":1}],"weight":"0.3","compare_at_price":"30.47","price":"31.08","retail_price":"30.47","available":true,"url":"\/products\/cotton-and-linen-light-luxury-geometric-fringe-sofa-pillow?variant=4d34c519-3a8c-4180-874e-9084f2c5ed8b","available_quantity":999999999,"options":[{"name":"color","value":"tufted"},{"name":"size","value":"pillowcase45x45cm"}],"off_ratio":0,"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":"4d34c519-3a8c-4180-874e-9084f2c5ed8b","product_id":"8406f1bb-848c-465a-9e89-c113ceececf2","title":"tufted-pillowcase45x45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292232-tufted-pillowcase45x45cm","barcode":"","position":1,"option1":"tufted","option2":"pillowcase45x45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05cf498ce0efd6f3bb4e7e4687502dc4.png","path":"05cf498ce0efd6f3bb4e7e4687502dc4.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.08,"min_quantity":1}],"weight":"0.3","compare_at_price":"30.47","price":"31.08","retail_price":"30.47","available":true,"url":"\/products\/cotton-and-linen-light-luxury-geometric-fringe-sofa-pillow?variant=4d34c519-3a8c-4180-874e-9084f2c5ed8b","available_quantity":999999999,"options":[{"name":"color","value":"tufted"},{"name":"size","value":"pillowcase45x45cm"}],"off_ratio":0,"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 `
`;
}()}