${function() {
const variantData = data.variant || {"id":"10ed5ec7-e387-4173-b888-1a70d3ed9933","product_id":"95df41b3-efc2-4f2c-94ac-04bc543d5dff","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55F-P421-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/588d503371cc33478ac06c89437e1286.png","path":"588d503371cc33478ac06c89437e1286.png","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"12.98","retail_price":"21.48","available":true,"url":"\/products\/me-weird-always-t-shirt?variant=10ed5ec7-e387-4173-b888-1a70d3ed9933","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":40,"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":"10ed5ec7-e387-4173-b888-1a70d3ed9933","product_id":"95df41b3-efc2-4f2c-94ac-04bc543d5dff","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55F-P421-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/588d503371cc33478ac06c89437e1286.png","path":"588d503371cc33478ac06c89437e1286.png","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"12.98","retail_price":"21.48","available":true,"url":"\/products\/me-weird-always-t-shirt?variant=10ed5ec7-e387-4173-b888-1a70d3ed9933","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}