${function() {
const variantData = data.variant || {"id":"aed01b14-b7c0-4bd6-bb46-7d290bf4d045","product_id":"6ac6419e-833a-4319-ad3f-febd3cdb96c8","title":"Black-One Size","weight_unit":"g","inventory_quantity":912,"sku":"102234030001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f82e183fd1e02023559f23fa950203e.jpeg","path":"8f82e183fd1e02023559f23fa950203e.jpeg","width":2000,"height":2000,"alt":"Just The Tip I Promise Printed Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"14.48","price":"12.98","retail_price":"14.48","available":true,"url":"\/products\/just-the-tip-i-promise-printed-baseball-cap?variant=aed01b14-b7c0-4bd6-bb46-7d290bf4d045","available_quantity":912,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":9};
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}
`
}()}
${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":"aed01b14-b7c0-4bd6-bb46-7d290bf4d045","product_id":"6ac6419e-833a-4319-ad3f-febd3cdb96c8","title":"Black-One Size","weight_unit":"g","inventory_quantity":912,"sku":"102234030001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f82e183fd1e02023559f23fa950203e.jpeg","path":"8f82e183fd1e02023559f23fa950203e.jpeg","width":2000,"height":2000,"alt":"Just The Tip I Promise Printed Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"14.48","price":"12.98","retail_price":"14.48","available":true,"url":"\/products\/just-the-tip-i-promise-printed-baseball-cap?variant=aed01b14-b7c0-4bd6-bb46-7d290bf4d045","available_quantity":912,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":9};
return `
`
}()}