Classic Klein Blue Dip Dyed Linen Tassel Scarf
${function() {
const variantData = data.variant || {"id":"3a02005d-0703-454d-9f94-f30a0a49be4a","product_id":"e2818210-3624-4526-be69-8938dd06853d","title":"Hollow out","weight_unit":"kg","inventory_quantity":88,"sku":"BL2304102817-Hollow out","barcode":"","position":1,"option1":"Hollow out","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c5cb59e35ef4a15b1136fc9fb02f493.jpeg","path":"6c5cb59e35ef4a15b1136fc9fb02f493.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.75,"min_quantity":1}],"weight":"0.15","compare_at_price":"44","price":"34.75","retail_price":"44","available":true,"url":"\/products\/classic-klein-blue-dip-dyed-linen-tassel-scarf?variant=3a02005d-0703-454d-9f94-f30a0a49be4a","available_quantity":999999999,"options":[{"name":"Coor","value":"Hollow out"}],"off_ratio":21,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"3a02005d-0703-454d-9f94-f30a0a49be4a","product_id":"e2818210-3624-4526-be69-8938dd06853d","title":"Hollow out","weight_unit":"kg","inventory_quantity":88,"sku":"BL2304102817-Hollow out","barcode":"","position":1,"option1":"Hollow out","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c5cb59e35ef4a15b1136fc9fb02f493.jpeg","path":"6c5cb59e35ef4a15b1136fc9fb02f493.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.75,"min_quantity":1}],"weight":"0.15","compare_at_price":"44","price":"34.75","retail_price":"44","available":true,"url":"\/products\/classic-klein-blue-dip-dyed-linen-tassel-scarf?variant=3a02005d-0703-454d-9f94-f30a0a49be4a","available_quantity":999999999,"options":[{"name":"Coor","value":"Hollow out"}],"off_ratio":21,"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 `
`;
}()}