Mojoyce-Simple Solid Color Double Layer Thickened Lamb Fleece Blanket
${function() {
const variantData = data.variant || {"id":"8a32770d-4038-4273-b645-03424400eb30","product_id":"f618faef-85fa-416b-90d1-4872666db3a6","title":"GREEN-100x150CM (About 0.75 kg)","weight_unit":"kg","inventory_quantity":999,"sku":"0765-GREEN-100x150CM (About 0.75 kg)-1","barcode":"","position":1,"option1":"GREEN","option2":"100x150CM (About 0.75 kg)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/664b3e85075c68c69f08f5f6bcf8fcb3.jpeg","path":"664b3e85075c68c69f08f5f6bcf8fcb3.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/simple-solid-color-double-layer-thickened-lamb-fleece-blanket?variant=8a32770d-4038-4273-b645-03424400eb30","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"},{"name":"\u5c3a\u5bf8","value":"100x150CM (About 0.75 kg)"}],"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 minDays = parseInt('5');
const maxDays = parseInt('15');
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}
`;
}()}
15 Days Return,100% Money Back
7*24h Service at: support@mojoyce.com