${function() {
const variantData = data.variant || {"id":"ea305067-4158-446b-8f90-c873ed6434f4","product_id":"a69bacb8-3521-43b6-bb35-e56ce292ca5c","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A397-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02e8007740b9f281d4779de37a5f4d06.png","path":"02e8007740b9f281d4779de37a5f4d06.png","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/no-pants-is-the-best-pants-t-shirt?variant=ea305067-4158-446b-8f90-c873ed6434f4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"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":"ea305067-4158-446b-8f90-c873ed6434f4","product_id":"a69bacb8-3521-43b6-bb35-e56ce292ca5c","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A397-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02e8007740b9f281d4779de37a5f4d06.png","path":"02e8007740b9f281d4779de37a5f4d06.png","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/no-pants-is-the-best-pants-t-shirt?variant=ea305067-4158-446b-8f90-c873ed6434f4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}