${function() {
const variantData = data.variant || {"id":"cc6d51a1-09aa-4cbf-a96f-9e02e39c3737","product_id":"abf576d1-d9fe-4f35-b44f-793d7dd9d8f3","title":"Pink-XS Height 85-95cm","weight_unit":"g","inventory_quantity":138,"sku":"77554639-pink-xs-height-85-95cm","barcode":"","position":1,"option1":"Pink","option2":"XS Height 85-95cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a6417d66fd8902bc1b8c185988e63fc.jpeg","path":"1a6417d66fd8902bc1b8c185988e63fc.jpeg","width":387,"height":521,"alt":"","aspect_ratio":0.7428023032629558},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/children-s-girl-s-lolita-turndown-collar-pajama-sets-cotton-tops-pants-toddler-kids-lace-pyjamas-set-girl-sleepwear-loungewear?variant=cc6d51a1-09aa-4cbf-a96f-9e02e39c3737","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Kid Size","value":"XS Height 85-95cm"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
🚚Global Fast logistics. 7-12 Days To US & UK💲Secure payments. ✅30days Returns
${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.
30 Days returns, 100% Money Back Guarantee
7*24h Service at: support@mqtime.com
people are viewing this right now
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('12');
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 `
`;
}()}
${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 `
`;
}()}