Women's Solid-color Cashmere Scarf with Thick Tassels
${function() {
const variantData = data.variant || {"id":"db69e9aa-be38-48c0-a753-521f979f1aed","product_id":"3121b27e-a8b1-4f28-a873-7a68c9b0fd04","title":"Red","weight_unit":"kg","inventory_quantity":998,"sku":"2209192597-Red","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d52d88a400031e8d4e18450ad5899dab.jpeg","path":"d52d88a400031e8d4e18450ad5899dab.jpeg","width":750,"height":745,"alt":"","aspect_ratio":1.0067114093959733},"wholesale_price":[{"price":26.31,"min_quantity":1}],"weight":"0.35","compare_at_price":"52.62","price":"26.31","retail_price":"52.62","available":true,"url":"\/products\/womens-solid-color-cashmere-scarf-with-thick-tassels?variant=db69e9aa-be38-48c0-a753-521f979f1aed","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":50,"flashsale_info":[],"sales":5};
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 minDays = parseInt('7');
const maxDays = parseInt('14');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
${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 `
`;
}()}
Product was out of stock.
Product is unavailable.
people are viewing this right now