Dip Dye Ink Blue Cotton Scarf
${function() {
const variantData = data.variant || {"id":"5b102f56-eb96-44cc-9519-14900689f1ad","product_id":"2879691f-7c74-4af5-9565-b9f6ba12c540","title":"Ink Blue-175cm","weight_unit":"kg","inventory_quantity":179,"sku":"BL2304102819-Ink Blue-175cm","barcode":"","position":1,"option1":"Ink Blue","option2":"175cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c49eca23f6c8dfe2326b1b097326fcf.jpeg","path":"0c49eca23f6c8dfe2326b1b097326fcf.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.04,"min_quantity":1}],"weight":"0.1","compare_at_price":"33","price":"24.04","retail_price":"33","available":true,"url":"\/products\/dip-dye-ink-blue-cotton-scarf?variant=5b102f56-eb96-44cc-9519-14900689f1ad","available_quantity":999999999,"options":[{"name":"Color","value":"Ink Blue"},{"name":"Length","value":"175cm"}],"off_ratio":27,"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":"5b102f56-eb96-44cc-9519-14900689f1ad","product_id":"2879691f-7c74-4af5-9565-b9f6ba12c540","title":"Ink Blue-175cm","weight_unit":"kg","inventory_quantity":179,"sku":"BL2304102819-Ink Blue-175cm","barcode":"","position":1,"option1":"Ink Blue","option2":"175cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c49eca23f6c8dfe2326b1b097326fcf.jpeg","path":"0c49eca23f6c8dfe2326b1b097326fcf.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.04,"min_quantity":1}],"weight":"0.1","compare_at_price":"33","price":"24.04","retail_price":"33","available":true,"url":"\/products\/dip-dye-ink-blue-cotton-scarf?variant=5b102f56-eb96-44cc-9519-14900689f1ad","available_quantity":999999999,"options":[{"name":"Color","value":"Ink Blue"},{"name":"Length","value":"175cm"}],"off_ratio":27,"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 `
`;
}()}