${function() {
const variantData = data.variant || {"id":"be73d923-6175-4a56-829a-22ff0b459c51","product_id":"278b0b8c-4d34-4be9-832c-f6418625e2c5","title":"S-As picture-China","weight_unit":"g","inventory_quantity":200,"sku":"68432565-s-as-picture-china","barcode":"","position":1,"option1":"S","option2":"As picture","option3":"China","note":"","image":{"src":"\/\/img.staticdj.com\/3797b238d26a94ca1f7b6d8a6d0b7319.jpeg","path":"3797b238d26a94ca1f7b6d8a6d0b7319.jpeg","width":800,"height":1198,"alt":"","aspect_ratio":0.667779632721202},"wholesale_price":[{"price":32.39,"min_quantity":1}],"weight":"0","compare_at_price":"35.99","price":"32.39","retail_price":"35.99","available":true,"url":"\/products\/sexy-maternity-dresses-for-photo-shoot-chiffon-v-neck-pregnancy-dress-photography-prop-maxi-gown-pregnant-women-clothes-dresses?variant=be73d923-6175-4a56-829a-22ff0b459c51","available_quantity":200,"options":[{"name":"Maternity Size","value":"S"},{"name":"Color","value":"As picture"},{"name":"Ships From","value":"China"}],"off_ratio":"10","flashsale_info":{"variant_id":"be73d923-6175-4a56-829a-22ff0b459c51","product_id":"","quantity":0,"discount_id":"1407981d-ef87-4998-acf9-03bd90c394d2","limit_time":2773161,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":200,"ends_at":1698854399,"starts_at":1695710342,"allow_oversold":"uncheck","allocation_method":"none","price":"32.39","compare_at_price":"35.99","discount_price":"32.39","customary_saved_price":"3.6","customary_off_ratio":"10","discount_saved_price":"3.6","discount_off_ratio":"10","use_before_price":false,"before_price":"0","title":"","trunk_price":"0","total_price":"0","inventory_tracking":false,"inventory_policy":"","inventory_quantity":0,"discount_applications":null,"properties":"","color_setting_promotional_copy":""},"sales":0};
const saveType = "percentage";
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}
`
}()}
${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 `
`;
}()}