${function() {
const variantData = data.variant || {"id":"40284245-f4fd-492e-a41d-ce982ec73cf4","product_id":"90187c34-1114-43eb-8e25-c2e20edebbe1","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T19B-P242-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bda38e30e763c98ac665219f96c9f596.jpeg","path":"bda38e30e763c98ac665219f96c9f596.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"133","compare_at_price":"24.48","price":"12.99","retail_price":"24.48","available":true,"url":"\/products\/asshole-af-but-i-still-need-cuddles-vest?variant=40284245-f4fd-492e-a41d-ce982ec73cf4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"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":"40284245-f4fd-492e-a41d-ce982ec73cf4","product_id":"90187c34-1114-43eb-8e25-c2e20edebbe1","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T19B-P242-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bda38e30e763c98ac665219f96c9f596.jpeg","path":"bda38e30e763c98ac665219f96c9f596.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"133","compare_at_price":"24.48","price":"12.99","retail_price":"24.48","available":true,"url":"\/products\/asshole-af-but-i-still-need-cuddles-vest?variant=40284245-f4fd-492e-a41d-ce982ec73cf4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}