Woven blanket Chenille stick knitted sofa blanket
${function() {
const variantData = data.variant || {"id":"5e93a3f9-79f8-4421-876a-0a95caf2cd68","product_id":"aef9a4ad-1714-418c-b7b6-6546996eda38","title":"light gray-80*80cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292201-light gray-80*80cm","barcode":"","position":1,"option1":"light gray","option2":"80*80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29ca36b6752defe8e2b86dc5eda9510c.jpeg","path":"29ca36b6752defe8e2b86dc5eda9510c.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":83.88,"min_quantity":1}],"weight":"0","compare_at_price":"84.22","price":"83.88","retail_price":"84.22","available":true,"url":"\/products\/woven-blanket-chenille-stick-knitted-sofa-blanket?variant=5e93a3f9-79f8-4421-876a-0a95caf2cd68","available_quantity":999999999,"options":[{"name":"color","value":"light gray"},{"name":"size","value":"80*80cm"}],"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":"5e93a3f9-79f8-4421-876a-0a95caf2cd68","product_id":"aef9a4ad-1714-418c-b7b6-6546996eda38","title":"light gray-80*80cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292201-light gray-80*80cm","barcode":"","position":1,"option1":"light gray","option2":"80*80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29ca36b6752defe8e2b86dc5eda9510c.jpeg","path":"29ca36b6752defe8e2b86dc5eda9510c.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":83.88,"min_quantity":1}],"weight":"0","compare_at_price":"84.22","price":"83.88","retail_price":"84.22","available":true,"url":"\/products\/woven-blanket-chenille-stick-knitted-sofa-blanket?variant=5e93a3f9-79f8-4421-876a-0a95caf2cd68","available_quantity":999999999,"options":[{"name":"color","value":"light gray"},{"name":"size","value":"80*80cm"}],"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 `
`;
}()}