${function() {
const variantData = data.variant || {"id":"f9df4f24-08e0-4bdb-89a9-a42e4961c602","product_id":"8b10ac67-050e-4fcb-8233-6ebe29f301e2","title":"Beige-One Size","weight_unit":"g","inventory_quantity":647,"sku":"72664683-beige-one-size","barcode":"","position":1,"option1":"Beige","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c916d2e16aaa7ae5be7ff6b7a4d970ed.jpeg","path":"c916d2e16aaa7ae5be7ff6b7a4d970ed.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.83","price":"18.99","retail_price":"27.83","available":true,"url":"\/products\/2021-new-winter-socks-women-leopard-print-high-quality-long-cotton-socks-cute-korean-girl-style-streetwear-fashion-vrouw-socken?variant=f9df4f24-08e0-4bdb-89a9-a42e4961c602","available_quantity":647,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"One Size"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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}
`
}()}
30 Days returns guarantee, 100% Money Back Guarantee
7*24h Service at: support@wexleyjesus.com
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f9df4f24-08e0-4bdb-89a9-a42e4961c602","product_id":"8b10ac67-050e-4fcb-8233-6ebe29f301e2","title":"Beige-One Size","weight_unit":"g","inventory_quantity":647,"sku":"72664683-beige-one-size","barcode":"","position":1,"option1":"Beige","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c916d2e16aaa7ae5be7ff6b7a4d970ed.jpeg","path":"c916d2e16aaa7ae5be7ff6b7a4d970ed.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.83","price":"18.99","retail_price":"27.83","available":true,"url":"\/products\/2021-new-winter-socks-women-leopard-print-high-quality-long-cotton-socks-cute-korean-girl-style-streetwear-fashion-vrouw-socken?variant=f9df4f24-08e0-4bdb-89a9-a42e4961c602","available_quantity":647,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"One Size"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('17');
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 `
`;
}()}
people are viewing this right now
${function() {
const postageFreeAmount = 35;
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 `
`;
}()}