Elegant Vintage Lapel collar Midi Dress
${function() {
const variantData = data.variant || {"id":"09cc6954-4d0f-4c67-baad-4625e56572d7","product_id":"416c2409-0e0a-4709-8f17-f1d6499f9e4e","title":"Yellow-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"ALL22072106-Yellow-2XL","barcode":"","position":1,"option1":"Yellow","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a367bfcd1b29d51a0e37ac69dfa265e.jpeg","path":"5a367bfcd1b29d51a0e37ac69dfa265e.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"42","retail_price":"50","available":true,"url":"\/products\/elegant-vintage-lapel-collar-midi-dress?variant=09cc6954-4d0f-4c67-baad-4625e56572d7","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"2XL"}],"off_ratio":16,"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.
${function(){
const variantData = data.variant || {"id":"09cc6954-4d0f-4c67-baad-4625e56572d7","product_id":"416c2409-0e0a-4709-8f17-f1d6499f9e4e","title":"Yellow-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"ALL22072106-Yellow-2XL","barcode":"","position":1,"option1":"Yellow","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a367bfcd1b29d51a0e37ac69dfa265e.jpeg","path":"5a367bfcd1b29d51a0e37ac69dfa265e.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"42","retail_price":"50","available":true,"url":"\/products\/elegant-vintage-lapel-collar-midi-dress?variant=09cc6954-4d0f-4c67-baad-4625e56572d7","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"2XL"}],"off_ratio":16,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}