Slit Slim Sexy Knit Dress
${function() {
const variantData = data.variant || {"id":"1804915b-2069-4d58-95c2-5fdd2c056756","product_id":"5c75b03d-e63f-4921-8f84-9d3b3a2cd101","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"662212092490-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6806c2736020dc0a3c23534a92ed6a7c.jpeg","path":"6806c2736020dc0a3c23534a92ed6a7c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.33,"min_quantity":1}],"weight":"0.5","compare_at_price":"66","price":"46.33","retail_price":"66","available":true,"url":"\/products\/slit-slim-sexy-knit-dress?variant=1804915b-2069-4d58-95c2-5fdd2c056756","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":30,"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":"1804915b-2069-4d58-95c2-5fdd2c056756","product_id":"5c75b03d-e63f-4921-8f84-9d3b3a2cd101","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"662212092490-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6806c2736020dc0a3c23534a92ed6a7c.jpeg","path":"6806c2736020dc0a3c23534a92ed6a7c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.33,"min_quantity":1}],"weight":"0.5","compare_at_price":"66","price":"46.33","retail_price":"66","available":true,"url":"\/products\/slit-slim-sexy-knit-dress?variant=1804915b-2069-4d58-95c2-5fdd2c056756","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":30,"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 `
`;
}()}