${function() {
const variantData = data.variant || {"id":"1004331f-4bcd-4503-983b-28db4c0f7757","product_id":"a99fc221-09b2-4829-ad21-83623e49110c","title":"White-3XL","weight_unit":"g","inventory_quantity":980,"sku":"100757720006","barcode":"","position":6,"option1":"White","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c0f4d21b54bb10f18dea12513568c32.jpeg","path":"4c0f4d21b54bb10f18dea12513568c32.jpeg","width":1011,"height":1011,"alt":"I'll Sleep When I'm Dead printed classic T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"302","compare_at_price":"28.48","price":"21.98","retail_price":"28.48","available":true,"url":"\/products\/ill-sleep-when-im-dead-printed-classic-t-shirt?variant=1004331f-4bcd-4503-983b-28db4c0f7757","available_quantity":980,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"3XL"}],"off_ratio":23,"flashsale_info":[],"sales":24};
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":"1004331f-4bcd-4503-983b-28db4c0f7757","product_id":"a99fc221-09b2-4829-ad21-83623e49110c","title":"White-3XL","weight_unit":"g","inventory_quantity":980,"sku":"100757720006","barcode":"","position":6,"option1":"White","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c0f4d21b54bb10f18dea12513568c32.jpeg","path":"4c0f4d21b54bb10f18dea12513568c32.jpeg","width":1011,"height":1011,"alt":"I'll Sleep When I'm Dead printed classic T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":21.98,"min_quantity":1}],"weight":"302","compare_at_price":"28.48","price":"21.98","retail_price":"28.48","available":true,"url":"\/products\/ill-sleep-when-im-dead-printed-classic-t-shirt?variant=1004331f-4bcd-4503-983b-28db4c0f7757","available_quantity":980,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"3XL"}],"off_ratio":23,"flashsale_info":[],"sales":24};
return `
`
}()}