Normal Isn't Coming Back But Jesus Is Revelation 14 Sun Hat
${function() {
const variantData = data.variant || {"id":"e63c4a8a-d2fb-40f7-a589-fb56cda3001d","product_id":"ad338428-28f6-47f5-bc90-9474b36650d6","title":"Navy-ONE SIZE","weight_unit":"kg","inventory_quantity":998,"sku":"sku2055232549301","barcode":"","position":3,"option1":"Navy","option2":"ONE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0fc1bb26e45f89e34985121dfe7b0a4c.jpeg","path":"0fc1bb26e45f89e34985121dfe7b0a4c.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.98","price":"14.99","retail_price":"29.98","available":true,"url":"\/products\/normal-isnt-coming-back-but-jesus-is-revelation-14-sun-hat-7150412?variant=e63c4a8a-d2fb-40f7-a589-fb56cda3001d","available_quantity":998,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"ONE SIZE"}],"off_ratio":50,"flashsale_info":[],"sales":10};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const variantData = data.variant || {"id":"e63c4a8a-d2fb-40f7-a589-fb56cda3001d","product_id":"ad338428-28f6-47f5-bc90-9474b36650d6","title":"Navy-ONE SIZE","weight_unit":"kg","inventory_quantity":998,"sku":"sku2055232549301","barcode":"","position":3,"option1":"Navy","option2":"ONE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0fc1bb26e45f89e34985121dfe7b0a4c.jpeg","path":"0fc1bb26e45f89e34985121dfe7b0a4c.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.98","price":"14.99","retail_price":"29.98","available":true,"url":"\/products\/normal-isnt-coming-back-but-jesus-is-revelation-14-sun-hat-7150412?variant=e63c4a8a-d2fb-40f7-a589-fb56cda3001d","available_quantity":998,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"ONE SIZE"}],"off_ratio":50,"flashsale_info":[],"sales":10};
return `
`
}()}
${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('7');
const maxDays = parseInt('13');
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 = 60;
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 `
`;
}()}