${function() {
const variantData = data.variant || {"id":"f198815a-bcf1-4f1c-a867-30173cb2bbcc","product_id":"68a8a04a-2425-4a4c-88c5-17226fcad102","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A494-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62289db7ebb64de46e6f3a21ee9da50b.jpeg","path":"62289db7ebb64de46e6f3a21ee9da50b.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"16.98","retail_price":"21.48","available":true,"url":"\/products\/good-girls-are-bad-girls-that-never-get-caught-printed-t-shirt?variant=f198815a-bcf1-4f1c-a867-30173cb2bbcc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"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":"f198815a-bcf1-4f1c-a867-30173cb2bbcc","product_id":"68a8a04a-2425-4a4c-88c5-17226fcad102","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A494-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62289db7ebb64de46e6f3a21ee9da50b.jpeg","path":"62289db7ebb64de46e6f3a21ee9da50b.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"16.98","retail_price":"21.48","available":true,"url":"\/products\/good-girls-are-bad-girls-that-never-get-caught-printed-t-shirt?variant=f198815a-bcf1-4f1c-a867-30173cb2bbcc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}