Fringed lace sofa cushions and pillows
${function() {
const variantData = data.variant || {"id":"541ecd37-8da3-4e18-95b5-4a9d78a0d578","product_id":"76bb2c41-0c99-4042-ac5e-244bc9c36282","title":"style-3-pillowcase45x45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211302252-style-3-pillowcase45x45cm","barcode":"","position":3,"option1":"style-3","option2":"pillowcase45x45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b624cb2eae0be0a4e134c5bb0a4d380c.jpeg","path":"b624cb2eae0be0a4e134c5bb0a4d380c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.79,"min_quantity":1}],"weight":"0.2","compare_at_price":"17.06","price":"16.79","retail_price":"17.06","available":true,"url":"\/products\/fringed-lace-sofa-cushions-and-pillows?variant=541ecd37-8da3-4e18-95b5-4a9d78a0d578","available_quantity":999999999,"options":[{"name":"color","value":"style-3"},{"name":"size","value":"pillowcase45x45cm"}],"off_ratio":2,"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":"541ecd37-8da3-4e18-95b5-4a9d78a0d578","product_id":"76bb2c41-0c99-4042-ac5e-244bc9c36282","title":"style-3-pillowcase45x45cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211302252-style-3-pillowcase45x45cm","barcode":"","position":3,"option1":"style-3","option2":"pillowcase45x45cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b624cb2eae0be0a4e134c5bb0a4d380c.jpeg","path":"b624cb2eae0be0a4e134c5bb0a4d380c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.79,"min_quantity":1}],"weight":"0.2","compare_at_price":"17.06","price":"16.79","retail_price":"17.06","available":true,"url":"\/products\/fringed-lace-sofa-cushions-and-pillows?variant=541ecd37-8da3-4e18-95b5-4a9d78a0d578","available_quantity":999999999,"options":[{"name":"color","value":"style-3"},{"name":"size","value":"pillowcase45x45cm"}],"off_ratio":2,"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 `
`;
}()}