${function() {
const variantData = data.variant || {"id":"079483e9-0bb0-4e6e-b427-151fd936ba7d","product_id":"4fdf51c1-d4ab-4cde-9b52-32e47a278239","title":"Black","weight_unit":"g","inventory_quantity":890,"sku":"SKU102488360002","barcode":"","position":2,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22928209980cc59d1a35c8c5a4d47790.jpeg","path":"22928209980cc59d1a35c8c5a4d47790.jpeg","width":2000,"height":2000,"alt":"What I Want Is Simple Pattern Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":8.98,"min_quantity":1}],"weight":"100","compare_at_price":"12.98","price":"8.98","retail_price":"12.98","available":true,"url":"\/products\/what-i-want-is-simple-pattern-baseball-cap?variant=079483e9-0bb0-4e6e-b427-151fd936ba7d","available_quantity":890,"options":[{"name":"Color","value":"Black"}],"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":"079483e9-0bb0-4e6e-b427-151fd936ba7d","product_id":"4fdf51c1-d4ab-4cde-9b52-32e47a278239","title":"Black","weight_unit":"g","inventory_quantity":890,"sku":"SKU102488360002","barcode":"","position":2,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22928209980cc59d1a35c8c5a4d47790.jpeg","path":"22928209980cc59d1a35c8c5a4d47790.jpeg","width":2000,"height":2000,"alt":"What I Want Is Simple Pattern Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":8.98,"min_quantity":1}],"weight":"100","compare_at_price":"12.98","price":"8.98","retail_price":"12.98","available":true,"url":"\/products\/what-i-want-is-simple-pattern-baseball-cap?variant=079483e9-0bb0-4e6e-b427-151fd936ba7d","available_quantity":890,"options":[{"name":"Color","value":"Black"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}