${function() {
const variantData = data.variant || {"id":"f6a6bb67-816e-4057-b7fe-9c69e1dbe3da","product_id":"4a913359-24be-496d-8fae-067042f31b1b","title":"white-xl","weight_unit":"kg","inventory_quantity":999,"sku":"4276256","barcode":"4276256","position":1,"option1":"white","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1366cb1c273ec8c32da4a2fa012db627.webp","path":"1366cb1c273ec8c32da4a2fa012db627.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"15","retail_price":"0","available":true,"url":"\/products\/deep-v-neck-zipper-plain-t-shirts-1?variant=f6a6bb67-816e-4057-b7fe-9c69e1dbe3da","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
Sku : 4276256
Weight : 0.2kg
Barcode : 4276256
${function(){
const variantData = data.variant || {"id":"f6a6bb67-816e-4057-b7fe-9c69e1dbe3da","product_id":"4a913359-24be-496d-8fae-067042f31b1b","title":"white-xl","weight_unit":"kg","inventory_quantity":999,"sku":"4276256","barcode":"4276256","position":1,"option1":"white","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1366cb1c273ec8c32da4a2fa012db627.webp","path":"1366cb1c273ec8c32da4a2fa012db627.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"15","retail_price":"0","available":true,"url":"\/products\/deep-v-neck-zipper-plain-t-shirts-1?variant=f6a6bb67-816e-4057-b7fe-9c69e1dbe3da","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}