${function() {
const variantData = data.variant || {"id":"a4093bcc-e192-4caf-8cac-71ec5e5696de","product_id":"7f9407ec-837a-4577-a3e8-b21c6cab5a6d","title":"Black","weight_unit":"g","inventory_quantity":714,"sku":"SKU102488380002","barcode":"","position":2,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/714e3a4de2456c73cfe2b4792e0b7c2f.jpeg","path":"714e3a4de2456c73cfe2b4792e0b7c2f.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=a4093bcc-e192-4caf-8cac-71ec5e5696de","available_quantity":714,"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":"a4093bcc-e192-4caf-8cac-71ec5e5696de","product_id":"7f9407ec-837a-4577-a3e8-b21c6cab5a6d","title":"Black","weight_unit":"g","inventory_quantity":714,"sku":"SKU102488380002","barcode":"","position":2,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/714e3a4de2456c73cfe2b4792e0b7c2f.jpeg","path":"714e3a4de2456c73cfe2b4792e0b7c2f.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=a4093bcc-e192-4caf-8cac-71ec5e5696de","available_quantity":714,"options":[{"name":"Color","value":"Black"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}