Hand-gradient Tie-dye Pleated Ink Blue Scarf
${function() {
const variantData = data.variant || {"id":"2aeb8bef-213a-4bc6-927a-000f6923252b","product_id":"ca6231db-2fdd-45e9-8780-c1c890c00661","title":"Ink Blue-60x220cm","weight_unit":"kg","inventory_quantity":142,"sku":"BL2304102818-Ink Blue-60x220cm","barcode":"","position":1,"option1":"Ink Blue","option2":"60x220cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40106f2c39cfd548403302e87b067126.jpeg","path":"40106f2c39cfd548403302e87b067126.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=2aeb8bef-213a-4bc6-927a-000f6923252b","available_quantity":999999999,"options":[{"name":"Color","value":"Ink 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":"2aeb8bef-213a-4bc6-927a-000f6923252b","product_id":"ca6231db-2fdd-45e9-8780-c1c890c00661","title":"Ink Blue-60x220cm","weight_unit":"kg","inventory_quantity":142,"sku":"BL2304102818-Ink Blue-60x220cm","barcode":"","position":1,"option1":"Ink Blue","option2":"60x220cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40106f2c39cfd548403302e87b067126.jpeg","path":"40106f2c39cfd548403302e87b067126.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=2aeb8bef-213a-4bc6-927a-000f6923252b","available_quantity":999999999,"options":[{"name":"Color","value":"Ink 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 `
`;
}()}