Woven hand woven blanket strip heart - filling yarn throw pillow
${function() {
const variantData = data.variant || {"id":"6793acc0-735a-4086-bf34-10b196b4c577","product_id":"d2e089b8-26c9-47e4-b026-0447e6f050f1","title":"pink-50*50cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292180-pink-50*50cm","barcode":"","position":6,"option1":"pink","option2":"50*50cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3a3690180219470ea7ba4473fe00756.jpeg","path":"d3a3690180219470ea7ba4473fe00756.jpeg","width":758,"height":859,"alt":"","aspect_ratio":0.8824214202561118},"wholesale_price":[{"price":103.08,"min_quantity":1}],"weight":"1","compare_at_price":"103.49","price":"103.08","retail_price":"103.49","available":true,"url":"\/products\/woven-hand-woven-blanket-strip-heart-filling-yarn-throw-pillow?variant=6793acc0-735a-4086-bf34-10b196b4c577","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"50*50cm"}],"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":"6793acc0-735a-4086-bf34-10b196b4c577","product_id":"d2e089b8-26c9-47e4-b026-0447e6f050f1","title":"pink-50*50cm","weight_unit":"kg","inventory_quantity":0,"sku":"662211292180-pink-50*50cm","barcode":"","position":6,"option1":"pink","option2":"50*50cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3a3690180219470ea7ba4473fe00756.jpeg","path":"d3a3690180219470ea7ba4473fe00756.jpeg","width":758,"height":859,"alt":"","aspect_ratio":0.8824214202561118},"wholesale_price":[{"price":103.08,"min_quantity":1}],"weight":"1","compare_at_price":"103.49","price":"103.08","retail_price":"103.49","available":true,"url":"\/products\/woven-hand-woven-blanket-strip-heart-filling-yarn-throw-pillow?variant=6793acc0-735a-4086-bf34-10b196b4c577","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"50*50cm"}],"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 `
`;
}()}