${function() {
const variantData = data.variant || {"id":"49fa8da9-81e6-4bb4-9aee-f0506ea00f88","product_id":"7f9407ec-837a-4577-a3e8-b21c6cab5a6d","title":"Gray","weight_unit":"g","inventory_quantity":922,"sku":"SKU102488380003","barcode":"","position":3,"option1":"Gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/428e741a0852834feecdf2eebbb093f5.jpeg","path":"428e741a0852834feecdf2eebbb093f5.jpeg","width":800,"height":800,"alt":"Enjoy Life Originais 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\/enjoy-life-originais-pattern-baseball-cap?variant=49fa8da9-81e6-4bb4-9aee-f0506ea00f88","available_quantity":922,"options":[{"name":"Color","value":"Gray"}],"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":"49fa8da9-81e6-4bb4-9aee-f0506ea00f88","product_id":"7f9407ec-837a-4577-a3e8-b21c6cab5a6d","title":"Gray","weight_unit":"g","inventory_quantity":922,"sku":"SKU102488380003","barcode":"","position":3,"option1":"Gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/428e741a0852834feecdf2eebbb093f5.jpeg","path":"428e741a0852834feecdf2eebbb093f5.jpeg","width":800,"height":800,"alt":"Enjoy Life Originais 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\/enjoy-life-originais-pattern-baseball-cap?variant=49fa8da9-81e6-4bb4-9aee-f0506ea00f88","available_quantity":922,"options":[{"name":"Color","value":"Gray"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}