Ethnic Style Prints Vest Dress
${function() {
const variantData = data.variant || {"id":"4e924682-49a9-4371-9de6-b4c121ae91af","product_id":"ffbc0547-bdbf-4eb8-88b5-bc7a31f4013a","title":"Grey-M","weight_unit":"kg","inventory_quantity":6666,"sku":"BL230509904-Grey-M","barcode":"","position":7,"option1":"Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1dbbd1348588ecd2157da75a1a7fcd2a.jpeg","path":"1dbbd1348588ecd2157da75a1a7fcd2a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.55,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.2","price":"24.55","retail_price":"39.2","available":true,"url":"\/products\/ethnic-style-prints-vest-dress-0zn0?variant=4e924682-49a9-4371-9de6-b4c121ae91af","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"M"}],"off_ratio":37,"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":"4e924682-49a9-4371-9de6-b4c121ae91af","product_id":"ffbc0547-bdbf-4eb8-88b5-bc7a31f4013a","title":"Grey-M","weight_unit":"kg","inventory_quantity":6666,"sku":"BL230509904-Grey-M","barcode":"","position":7,"option1":"Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1dbbd1348588ecd2157da75a1a7fcd2a.jpeg","path":"1dbbd1348588ecd2157da75a1a7fcd2a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.55,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.2","price":"24.55","retail_price":"39.2","available":true,"url":"\/products\/ethnic-style-prints-vest-dress-0zn0?variant=4e924682-49a9-4371-9de6-b4c121ae91af","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"M"}],"off_ratio":37,"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 `
`;
}()}