${function() {
const variantData = data.variant || {"id":"0798c6df-bcc8-432d-9ffe-349d06cdaa21","product_id":"4fdf51c1-d4ab-4cde-9b52-32e47a278239","title":"White","weight_unit":"g","inventory_quantity":945,"sku":"SKU102488360001","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4090f5c4992da00ecc6533c1f5e7981f.jpeg","path":"4090f5c4992da00ecc6533c1f5e7981f.jpeg","width":800,"height":800,"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=0798c6df-bcc8-432d-9ffe-349d06cdaa21","available_quantity":945,"options":[{"name":"Color","value":"White"}],"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":"0798c6df-bcc8-432d-9ffe-349d06cdaa21","product_id":"4fdf51c1-d4ab-4cde-9b52-32e47a278239","title":"White","weight_unit":"g","inventory_quantity":945,"sku":"SKU102488360001","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4090f5c4992da00ecc6533c1f5e7981f.jpeg","path":"4090f5c4992da00ecc6533c1f5e7981f.jpeg","width":800,"height":800,"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=0798c6df-bcc8-432d-9ffe-349d06cdaa21","available_quantity":945,"options":[{"name":"Color","value":"White"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}