${function() {
const variantData = data.variant || {"id":"1c45b329-5243-4c1f-a2bb-7926c8a494df","product_id":"48f54b0e-b0b3-4f37-ac4d-2a06143ab894","title":"Black-S","weight_unit":"g","inventory_quantity":709,"sku":"102316930001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/720354e583c95fa2eb1ccc8fd187f6e8.jpeg","path":"720354e583c95fa2eb1ccc8fd187f6e8.jpeg","width":800,"height":800,"alt":"Livin Fast Stayin' Rowdy Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/livin-fast-stayin-rowdy-printed-mens-t-shirt?variant=1c45b329-5243-4c1f-a2bb-7926c8a494df","available_quantity":709,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"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.
${function(){
const variantData = data.variant || {"id":"1c45b329-5243-4c1f-a2bb-7926c8a494df","product_id":"48f54b0e-b0b3-4f37-ac4d-2a06143ab894","title":"Black-S","weight_unit":"g","inventory_quantity":709,"sku":"102316930001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/720354e583c95fa2eb1ccc8fd187f6e8.jpeg","path":"720354e583c95fa2eb1ccc8fd187f6e8.jpeg","width":800,"height":800,"alt":"Livin Fast Stayin' Rowdy Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/livin-fast-stayin-rowdy-printed-mens-t-shirt?variant=1c45b329-5243-4c1f-a2bb-7926c8a494df","available_quantity":709,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}