${function() {
const variantData = data.variant || {"id":"0b3e6c4d-2bf7-48ba-864b-53ef9dc6d6a9","product_id":"e1cf7566-2b3f-4638-98c1-2e14a1eb0ae3","title":"Red","weight_unit":"g","inventory_quantity":749,"sku":"SKU102488400003","barcode":"","position":3,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0048960f718b5712bc37babe5847d53.jpeg","path":"e0048960f718b5712bc37babe5847d53.jpeg","width":800,"height":800,"alt":"Fishing Outdoors Pattern Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":9.98,"min_quantity":1}],"weight":"100","compare_at_price":"14.48","price":"9.98","retail_price":"14.48","available":true,"url":"\/products\/fishing-outdoors-pattern-baseball-cap?variant=0b3e6c4d-2bf7-48ba-864b-53ef9dc6d6a9","available_quantity":749,"options":[{"name":"Color","value":"Red"}],"off_ratio":31,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"0b3e6c4d-2bf7-48ba-864b-53ef9dc6d6a9","product_id":"e1cf7566-2b3f-4638-98c1-2e14a1eb0ae3","title":"Red","weight_unit":"g","inventory_quantity":749,"sku":"SKU102488400003","barcode":"","position":3,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0048960f718b5712bc37babe5847d53.jpeg","path":"e0048960f718b5712bc37babe5847d53.jpeg","width":800,"height":800,"alt":"Fishing Outdoors Pattern Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":9.98,"min_quantity":1}],"weight":"100","compare_at_price":"14.48","price":"9.98","retail_price":"14.48","available":true,"url":"\/products\/fishing-outdoors-pattern-baseball-cap?variant=0b3e6c4d-2bf7-48ba-864b-53ef9dc6d6a9","available_quantity":749,"options":[{"name":"Color","value":"Red"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}