Puff Sleeve Round Neck Elegant Color Knit Dress
${function() {
const variantData = data.variant || {"id":"7d67696a-24a0-4583-be8d-2d158a6c0b24","product_id":"0393968f-af83-4b94-93a1-a70399291738","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212272880-black-one size","barcode":"","position":2,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08be370893c021b887f224a1f6a8bfc7.jpeg","path":"08be370893c021b887f224a1f6a8bfc7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":58.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"75","price":"58.79","retail_price":"75","available":true,"url":"\/products\/puff-sleeve-round-neck-elegant-color-knit-dress?variant=7d67696a-24a0-4583-be8d-2d158a6c0b24","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":22,"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":"7d67696a-24a0-4583-be8d-2d158a6c0b24","product_id":"0393968f-af83-4b94-93a1-a70399291738","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212272880-black-one size","barcode":"","position":2,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08be370893c021b887f224a1f6a8bfc7.jpeg","path":"08be370893c021b887f224a1f6a8bfc7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":58.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"75","price":"58.79","retail_price":"75","available":true,"url":"\/products\/puff-sleeve-round-neck-elegant-color-knit-dress?variant=7d67696a-24a0-4583-be8d-2d158a6c0b24","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":22,"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 `
`;
}()}