${function() {
const variantData = data.variant || {"id":"af4ecae1-3391-431d-9580-2478f58cfe83","product_id":"ac1a11f0-7869-40fe-85b2-ada5ef80ebb8","title":"Black-S","weight_unit":"g","inventory_quantity":590,"sku":"102328170008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e56f385eab14857590a752c4fe5b1c8.jpeg","path":"9e56f385eab14857590a752c4fe5b1c8.jpeg","width":2000,"height":2000,"alt":"I Kicked The Door Open Wide Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"160","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/i-kicked-the-door-open-wide-printed-mens-t-shirt?variant=af4ecae1-3391-431d-9580-2478f58cfe83","available_quantity":590,"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":"af4ecae1-3391-431d-9580-2478f58cfe83","product_id":"ac1a11f0-7869-40fe-85b2-ada5ef80ebb8","title":"Black-S","weight_unit":"g","inventory_quantity":590,"sku":"102328170008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e56f385eab14857590a752c4fe5b1c8.jpeg","path":"9e56f385eab14857590a752c4fe5b1c8.jpeg","width":2000,"height":2000,"alt":"I Kicked The Door Open Wide Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"160","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/i-kicked-the-door-open-wide-printed-mens-t-shirt?variant=af4ecae1-3391-431d-9580-2478f58cfe83","available_quantity":590,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}