Ruffled Edge Off Shoulder Midi Dress
${function() {
const variantData = data.variant || {"id":"b5f47345-819d-420d-83d8-d1f35e20d3a9","product_id":"c275be26-ac5c-4063-9a22-d1ec73c0054b","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303211267-Brown-S","barcode":"","position":7,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6dba0b081c6d3360b2d6f8f577aaa22e.png","path":"6dba0b081c6d3360b2d6f8f577aaa22e.png","width":648,"height":794,"alt":"","aspect_ratio":0.8161209068010076},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.4","compare_at_price":"60","price":"45.6","retail_price":"60","available":true,"url":"\/products\/ruffled-edge-off-shoulder-midi-dress?variant=b5f47345-819d-420d-83d8-d1f35e20d3a9","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":24,"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":"b5f47345-819d-420d-83d8-d1f35e20d3a9","product_id":"c275be26-ac5c-4063-9a22-d1ec73c0054b","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303211267-Brown-S","barcode":"","position":7,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6dba0b081c6d3360b2d6f8f577aaa22e.png","path":"6dba0b081c6d3360b2d6f8f577aaa22e.png","width":648,"height":794,"alt":"","aspect_ratio":0.8161209068010076},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.4","compare_at_price":"60","price":"45.6","retail_price":"60","available":true,"url":"\/products\/ruffled-edge-off-shoulder-midi-dress?variant=b5f47345-819d-420d-83d8-d1f35e20d3a9","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":24,"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 `
`;
}()}