Vintage Artsy V-neck Dress
${function() {
const variantData = data.variant || {"id":"26052adf-aa2c-4d53-bbc4-7c56f515155c","product_id":"67f9d27c-2c64-46b2-a440-91ecbf916fe2","title":"Khaki-M","weight_unit":"kg","inventory_quantity":84720,"sku":"BL2303241669-Khaki-M","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/042f7d96f8eec216a837ebecbc790339.jpeg","path":"042f7d96f8eec216a837ebecbc790339.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.55,"min_quantity":1}],"weight":"0.3","compare_at_price":"55","price":"43.55","retail_price":"55","available":true,"url":"\/products\/vintage-artsy-v-neck-dress?variant=26052adf-aa2c-4d53-bbc4-7c56f515155c","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":21,"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":"26052adf-aa2c-4d53-bbc4-7c56f515155c","product_id":"67f9d27c-2c64-46b2-a440-91ecbf916fe2","title":"Khaki-M","weight_unit":"kg","inventory_quantity":84720,"sku":"BL2303241669-Khaki-M","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/042f7d96f8eec216a837ebecbc790339.jpeg","path":"042f7d96f8eec216a837ebecbc790339.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.55,"min_quantity":1}],"weight":"0.3","compare_at_price":"55","price":"43.55","retail_price":"55","available":true,"url":"\/products\/vintage-artsy-v-neck-dress?variant=26052adf-aa2c-4d53-bbc4-7c56f515155c","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":21,"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 `
`;
}()}