${function() {
const variantData = data.variant || {"id":"4d8f93d3-67da-454e-b66a-fbe956c41761","product_id":"37e4f076-1b8b-492f-a147-ff3412e813b8","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101746000001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57ff224dba3248af0c95dcb9eda1e3b4.jpeg","path":"57ff224dba3248af0c95dcb9eda1e3b4.jpeg","width":800,"height":800,"alt":"Bad Nun Printed Casual Men's Hoodie - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"514","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/bad-nun-printed-casual-mens-hoodie?variant=4d8f93d3-67da-454e-b66a-fbe956c41761","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
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":"4d8f93d3-67da-454e-b66a-fbe956c41761","product_id":"37e4f076-1b8b-492f-a147-ff3412e813b8","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101746000001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57ff224dba3248af0c95dcb9eda1e3b4.jpeg","path":"57ff224dba3248af0c95dcb9eda1e3b4.jpeg","width":800,"height":800,"alt":"Bad Nun Printed Casual Men's Hoodie - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"514","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/bad-nun-printed-casual-mens-hoodie?variant=4d8f93d3-67da-454e-b66a-fbe956c41761","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
return `
`
}()}