${function() {
const variantData = data.variant || {"id":"5951e50f-7d1f-4d6d-8160-b44cbfd8ed16","product_id":"7e79b491-6d8c-406c-99f2-a3ca6983cdf3","title":"Black-S","weight_unit":"kg","inventory_quantity":30,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f14c42863e2ed84092d6bd1d67c538e8.jpeg","path":"f14c42863e2ed84092d6bd1d67c538e8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"33.99","price":"27.99","retail_price":"33.99","available":true,"url":"\/products\/kkp-women-v-neck-long-sleeve-bodysuit-shirts-sexy-bodysuit-ribbed-knit-stretchy-leotard?variant=5951e50f-7d1f-4d6d-8160-b44cbfd8ed16","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
(Tax included)
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
(Tax included)
`;
}()}
${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":"5951e50f-7d1f-4d6d-8160-b44cbfd8ed16","product_id":"7e79b491-6d8c-406c-99f2-a3ca6983cdf3","title":"Black-S","weight_unit":"kg","inventory_quantity":30,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f14c42863e2ed84092d6bd1d67c538e8.jpeg","path":"f14c42863e2ed84092d6bd1d67c538e8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"33.99","price":"27.99","retail_price":"33.99","available":true,"url":"\/products\/kkp-women-v-neck-long-sleeve-bodysuit-shirts-sexy-bodysuit-ribbed-knit-stretchy-leotard?variant=5951e50f-7d1f-4d6d-8160-b44cbfd8ed16","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}