Hand-gradient Tie-dye Pleated Ink Blue Scarf
${function() {
const variantData = data.variant || {"id":"15c85e93-1ce2-4c92-bcda-ec332d572d8c","product_id":"ca6231db-2fdd-45e9-8780-c1c890c00661","title":"Light Blue-60x220cm","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304102818-Light Blue-60x220cm","barcode":"","position":3,"option1":"Light Blue","option2":"60x220cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14ca29d3bb2cf60ea4eed3920c86186d.jpeg","path":"14ca29d3bb2cf60ea4eed3920c86186d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.83,"min_quantity":1}],"weight":"0.1","compare_at_price":"38.5","price":"26.83","retail_price":"38.5","available":true,"url":"\/products\/hand-gradient-tie-dye-pleated-ink-blue-scarf?variant=15c85e93-1ce2-4c92-bcda-ec332d572d8c","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Length(cm)","value":"60x220cm"}],"off_ratio":30,"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":"15c85e93-1ce2-4c92-bcda-ec332d572d8c","product_id":"ca6231db-2fdd-45e9-8780-c1c890c00661","title":"Light Blue-60x220cm","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304102818-Light Blue-60x220cm","barcode":"","position":3,"option1":"Light Blue","option2":"60x220cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14ca29d3bb2cf60ea4eed3920c86186d.jpeg","path":"14ca29d3bb2cf60ea4eed3920c86186d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.83,"min_quantity":1}],"weight":"0.1","compare_at_price":"38.5","price":"26.83","retail_price":"38.5","available":true,"url":"\/products\/hand-gradient-tie-dye-pleated-ink-blue-scarf?variant=15c85e93-1ce2-4c92-bcda-ec332d572d8c","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Length(cm)","value":"60x220cm"}],"off_ratio":30,"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 `
`;
}()}