Black Velvet Princess Dress Sexy Womens Luxury New Stylish Elegant Female Palace Clothing
${function() {
const variantData = data.variant || {"id":"dd734bd4-ce4d-499e-b5bc-d05aa374809a","product_id":"248c79da-faba-4a1d-b5e8-11f6ddf7a050","title":"Black-S","weight_unit":"g","inventory_quantity":77,"sku":"33229940-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f41a39a5790c888cce2d6a1e206e4034.jpeg","path":"f41a39a5790c888cce2d6a1e206e4034.jpeg","width":800,"height":1242,"alt":"","aspect_ratio":0.644122383252818},"wholesale_price":[{"price":56.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"56.99","retail_price":"0","available":true,"url":"\/products\/ael-black-velvet-princess-dress-sexy-womens-luxury-2018-new-spring-stylish-elegant-female-palace-clothing?variant=dd734bd4-ce4d-499e-b5bc-d05aa374809a","available_quantity":77,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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.
15 Days Return,100% Money Back
7*24h Service at: support@clacive.com
${function() {
const minDays = parseInt('7');
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}
`;
}()}
${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 `
`;
}()}