Off shoulder Solid Color Mini Dress
${function() {
const variantData = data.variant || {"id":"c0898e75-bbfb-4b0c-9433-2f172a310211","product_id":"65729ec5-c137-4d14-8190-f44be549903e","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21042304-black-s","barcode":"","position":6,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2ea7274b89dfbe5b120354c9b68f33f.jpg","path":"c2ea7274b89dfbe5b120354c9b68f33f.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":27.63,"min_quantity":1}],"weight":"0","compare_at_price":"32.13","price":"27.63","retail_price":"32.13","available":true,"url":"\/products\/off-shoulder-solid-color-mini-dress-s9ov?variant=c0898e75-bbfb-4b0c-9433-2f172a310211","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":14,"flashsale_info":[],"sales":5};
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":"c0898e75-bbfb-4b0c-9433-2f172a310211","product_id":"65729ec5-c137-4d14-8190-f44be549903e","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21042304-black-s","barcode":"","position":6,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2ea7274b89dfbe5b120354c9b68f33f.jpg","path":"c2ea7274b89dfbe5b120354c9b68f33f.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":27.63,"min_quantity":1}],"weight":"0","compare_at_price":"32.13","price":"27.63","retail_price":"32.13","available":true,"url":"\/products\/off-shoulder-solid-color-mini-dress-s9ov?variant=c0898e75-bbfb-4b0c-9433-2f172a310211","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":14,"flashsale_info":[],"sales":5};
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 `
`;
}()}