Ingvn - Women‘s Velvet Dress Shift Dress Caftan Dress Long Dress Maxi Dress Green Black Purple Long Sleeve Pure Color Pocket Winter Fall Spring Crew Neck Mature Winter Dress Daily Vacation 2023
${function() {
const variantData = data.variant || {"id":"33354327-9dde-4a09-9ad7-0238f20884fb","product_id":"ab94d776-bdb3-47bd-a08c-c7ddca52a8c1","title":"Wine-M","weight_unit":"g","inventory_quantity":777,"sku":"208411794090-Wine-M","barcode":"","position":1,"option1":"Wine","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53af3a1afe5ad37c42c44319291b9869.jpeg","path":"53af3a1afe5ad37c42c44319291b9869.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women\u2018s Velvet Dress Shift Caftan Long Maxi Green Black Purple Sleeve Pure Color Pocket","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/women-s-velvet-dress-shift-dress-caftan-dress-long-dress-maxi-dress-green-black-purple-long-sleeve-pure-color-pocket-winter-fall-spring-crew-neck-mature-winter-dress-daily-vacation-2023?variant=33354327-9dde-4a09-9ad7-0238f20884fb","available_quantity":999999999,"options":[{"name":"Color","value":"Wine"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Wine
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
M
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$27.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"33354327-9dde-4a09-9ad7-0238f20884fb","product_id":"ab94d776-bdb3-47bd-a08c-c7ddca52a8c1","title":"Wine-M","weight_unit":"g","inventory_quantity":777,"sku":"208411794090-Wine-M","barcode":"","position":1,"option1":"Wine","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53af3a1afe5ad37c42c44319291b9869.jpeg","path":"53af3a1afe5ad37c42c44319291b9869.jpeg","width":1000,"height":1000,"alt":"Ingvn - Women\u2018s Velvet Dress Shift Caftan Long Maxi Green Black Purple Sleeve Pure Color Pocket","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/women-s-velvet-dress-shift-dress-caftan-dress-long-dress-maxi-dress-green-black-purple-long-sleeve-pure-color-pocket-winter-fall-spring-crew-neck-mature-winter-dress-daily-vacation-2023?variant=33354327-9dde-4a09-9ad7-0238f20884fb","available_quantity":999999999,"options":[{"name":"Color","value":"Wine"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
people are viewing this right now
${function() {
const postageFreeAmount = 35;
const custom_text = "\u003Cdiv style=\"background-color: #fcf5f5; padding: 20px; text-align: center; max-width: 400px; margin: 0 auto; box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);\"\u003E\n \u003Ch1 style=\"font-size: 24px; margin: 10px 0; color: black;\"\u003E\n NEW YEAR DISCOUNT \u003Cspan style=\"font-size: 1.2em;\"\u003E\ud83d\udd25\u003C\/span\u003E\n \u003C\/h1\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n \u003Cspan style=\"color: red; font-weight: bold;\"\u003E10% OFF EVERYTHING!\u003C\/span\u003E\n \u003C\/p\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n Use code \u003Cspan style=\"color: red; font-weight: bold;\"\u003EVIP10\u003C\/span\u003E\n \u003Cspan style=\"font-size: 1.2em;\"\u003E\ud83d\udecd\u003C\/span\u003E\n \u003C\/p\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n \ud83d\ude9a \u003Cspan style=\"color: red; font-weight: bold;\"\u003EFree shipping on orders over $35\u003C\/span\u003E\n \u003C\/p\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n \u26a0 Due to warehouse upgrades, all orders placed after \n \u003Cspan style=\"color: red; font-weight: bold;\"\u003EFebruary 5\u003C\/span\u003E \n will be shipped in order after \n \u003Cspan style=\"color: red; font-weight: bold;\"\u003EMarch 4th\u003C\/span\u003E.\n \u003C\/p\u003E\n\u003C\/div\u003E";
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 `
`;
}()}