Ingvn - New Ladies Vintage Maxi Floral Print Summer Dress Women Slim Casual High Waist Button Bohemian Women Beach Dress Vestidos Female
${function() {
const variantData = data.variant || {"id":"778e1adb-fe15-4493-9345-ad395b20d85c","product_id":"556a7d04-15cb-4e21-a4e7-a60136f423a7","title":"Black-S","weight_unit":"g","inventory_quantity":859,"sku":"17684136-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a98a17834af55af0f1a7bf50fa1a968.jpeg","path":"0a98a17834af55af0f1a7bf50fa1a968.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Ladies Vintage Maxi Floral Print Summer Dress Women Slim Casual High Waist Button","aspect_ratio":1},"wholesale_price":[{"price":33.61,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.61","retail_price":"0","available":true,"url":"\/products\/new-ladies-vintage-maxi-floral-print-summer-dress-women-slim-casual-high-waist-button-bohemian-women-beach-dress-vestidos-female?variant=778e1adb-fe15-4493-9345-ad395b20d85c","available_quantity":859,"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 postageFreeAmount = 10;
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 `
`;
}()}
${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.
${function(){
const variantData = data.variant || {"id":"778e1adb-fe15-4493-9345-ad395b20d85c","product_id":"556a7d04-15cb-4e21-a4e7-a60136f423a7","title":"Black-S","weight_unit":"g","inventory_quantity":859,"sku":"17684136-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a98a17834af55af0f1a7bf50fa1a968.jpeg","path":"0a98a17834af55af0f1a7bf50fa1a968.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Ladies Vintage Maxi Floral Print Summer Dress Women Slim Casual High Waist Button","aspect_ratio":1},"wholesale_price":[{"price":33.61,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.61","retail_price":"0","available":true,"url":"\/products\/new-ladies-vintage-maxi-floral-print-summer-dress-women-slim-casual-high-waist-button-bohemian-women-beach-dress-vestidos-female?variant=778e1adb-fe15-4493-9345-ad395b20d85c","available_quantity":859,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}