Irregular Tie-dyed Spring and Summer Pleated Scarf
${function() {
const variantData = data.variant || {"id":"f0333d67-4155-4eff-a13c-f5e3cb001996","product_id":"154b0f3e-75d2-4c20-92b7-b4de6e8ad943","title":"Burgundy-175cm","weight_unit":"kg","inventory_quantity":6806,"sku":"BL2304102820-Burgundy-175cm","barcode":"","position":2,"option1":"Burgundy","option2":"175cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e888113f5a0e919cad90365d2985f55f.jpeg","path":"e888113f5a0e919cad90365d2985f55f.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=f0333d67-4155-4eff-a13c-f5e3cb001996","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"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":"f0333d67-4155-4eff-a13c-f5e3cb001996","product_id":"154b0f3e-75d2-4c20-92b7-b4de6e8ad943","title":"Burgundy-175cm","weight_unit":"kg","inventory_quantity":6806,"sku":"BL2304102820-Burgundy-175cm","barcode":"","position":2,"option1":"Burgundy","option2":"175cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e888113f5a0e919cad90365d2985f55f.jpeg","path":"e888113f5a0e919cad90365d2985f55f.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=f0333d67-4155-4eff-a13c-f5e3cb001996","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"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 `
`;
}()}