${function() {
const variantData = data.variant || {"id":"f6aee68e-be83-41ac-893e-f6467c16e247","product_id":"4c59c09e-c560-4444-bcc1-5b5a55483e32","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055475651","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f57f667bbf5fe68551caaba280d36b45.jpeg","path":"f57f667bbf5fe68551caaba280d36b45.jpeg","width":1024,"height":1024,"alt":"Solid Cotton And Linen Comfortable Shorts","aspect_ratio":1},"wholesale_price":[{"price":20.91,"min_quantity":1}],"weight":"0","compare_at_price":"20.91","price":"20.91","retail_price":"20.91","available":true,"url":"\/products\/solid-cotton-and-linen-comfortable-shorts-5427?variant=f6aee68e-be83-41ac-893e-f6467c16e247","available_quantity":1000,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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":"f6aee68e-be83-41ac-893e-f6467c16e247","product_id":"4c59c09e-c560-4444-bcc1-5b5a55483e32","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055475651","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f57f667bbf5fe68551caaba280d36b45.jpeg","path":"f57f667bbf5fe68551caaba280d36b45.jpeg","width":1024,"height":1024,"alt":"Solid Cotton And Linen Comfortable Shorts","aspect_ratio":1},"wholesale_price":[{"price":20.91,"min_quantity":1}],"weight":"0","compare_at_price":"20.91","price":"20.91","retail_price":"20.91","available":true,"url":"\/products\/solid-cotton-and-linen-comfortable-shorts-5427?variant=f6aee68e-be83-41ac-893e-f6467c16e247","available_quantity":1000,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}