Vintage Faded Fray Hem Scarf
${function() {
const variantData = data.variant || {"id":"988c966e-9037-4814-b26b-bab06cf74e9c","product_id":"6358fa0e-80ac-4c0f-84d6-95113b0b94bb","title":"light blue-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O019-lightblue-onesize","barcode":"","position":2,"option1":"light blue","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b69f6a2f6508df8317b2ca6b12efcf60.jpeg","path":"b69f6a2f6508df8317b2ca6b12efcf60.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.16","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/vintage-faded-fray-hem-scarf?variant=988c966e-9037-4814-b26b-bab06cf74e9c","available_quantity":999999999,"options":[{"name":"Color","value":"light blue"},{"name":"Size","value":"one size"}],"off_ratio":0,"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":"988c966e-9037-4814-b26b-bab06cf74e9c","product_id":"6358fa0e-80ac-4c0f-84d6-95113b0b94bb","title":"light blue-one size","weight_unit":"kg","inventory_quantity":1,"sku":"WL2023083O019-lightblue-onesize","barcode":"","position":2,"option1":"light blue","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b69f6a2f6508df8317b2ca6b12efcf60.jpeg","path":"b69f6a2f6508df8317b2ca6b12efcf60.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.16","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/vintage-faded-fray-hem-scarf?variant=988c966e-9037-4814-b26b-bab06cf74e9c","available_quantity":999999999,"options":[{"name":"Color","value":"light blue"},{"name":"Size","value":"one size"}],"off_ratio":0,"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 `
`;
}()}