Temperament and fashionable V-neck printed long dress
${function() {
const variantData = data.variant || {"id":"04cdc39d-bed2-4866-a840-cf5501c53d8e","product_id":"c371964b-f529-41a5-a306-a3152842320a","title":"blue-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220709589-blue-2XL","barcode":"","position":1,"option1":"blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e18a3ef32dad743a364e20517775c66.jpeg","path":"7e18a3ef32dad743a364e20517775c66.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.72,"min_quantity":1}],"weight":"0","compare_at_price":"55.91","price":"44.72","retail_price":"55.91","available":true,"url":"\/products\/temperament-and-fashionable-v-neck-printed-long-dress?variant=04cdc39d-bed2-4866-a840-cf5501c53d8e","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"2XL"}],"off_ratio":20,"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":"04cdc39d-bed2-4866-a840-cf5501c53d8e","product_id":"c371964b-f529-41a5-a306-a3152842320a","title":"blue-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220709589-blue-2XL","barcode":"","position":1,"option1":"blue","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e18a3ef32dad743a364e20517775c66.jpeg","path":"7e18a3ef32dad743a364e20517775c66.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.72,"min_quantity":1}],"weight":"0","compare_at_price":"55.91","price":"44.72","retail_price":"55.91","available":true,"url":"\/products\/temperament-and-fashionable-v-neck-printed-long-dress?variant=04cdc39d-bed2-4866-a840-cf5501c53d8e","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"2XL"}],"off_ratio":20,"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 `
`;
}()}