Irregular Tie-dyed Spring and Summer Pleated Scarf
${function() {
const variantData = data.variant || {"id":"e3e06320-7eac-48d4-a4b6-6b367098da46","product_id":"154b0f3e-75d2-4c20-92b7-b4de6e8ad943","title":"Tan-175cm","weight_unit":"kg","inventory_quantity":7659,"sku":"BL2304102820-Tan-175cm","barcode":"","position":3,"option1":"Tan","option2":"175cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1887bae0771dacd64325acf44a50d5d.jpeg","path":"e1887bae0771dacd64325acf44a50d5d.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.59,"min_quantity":1}],"weight":"0.04","compare_at_price":"25.3","price":"16.59","retail_price":"25.3","available":true,"url":"\/products\/irregular-tie-dyed-spring-and-summer-pleated-scarf?variant=e3e06320-7eac-48d4-a4b6-6b367098da46","available_quantity":999999999,"options":[{"name":"Color","value":"Tan"},{"name":"Length","value":"175cm"}],"off_ratio":34,"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":"e3e06320-7eac-48d4-a4b6-6b367098da46","product_id":"154b0f3e-75d2-4c20-92b7-b4de6e8ad943","title":"Tan-175cm","weight_unit":"kg","inventory_quantity":7659,"sku":"BL2304102820-Tan-175cm","barcode":"","position":3,"option1":"Tan","option2":"175cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1887bae0771dacd64325acf44a50d5d.jpeg","path":"e1887bae0771dacd64325acf44a50d5d.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.59,"min_quantity":1}],"weight":"0.04","compare_at_price":"25.3","price":"16.59","retail_price":"25.3","available":true,"url":"\/products\/irregular-tie-dyed-spring-and-summer-pleated-scarf?variant=e3e06320-7eac-48d4-a4b6-6b367098da46","available_quantity":999999999,"options":[{"name":"Color","value":"Tan"},{"name":"Length","value":"175cm"}],"off_ratio":34,"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 `
`;
}()}