${function() {
const variantData = data.variant || {"id":"8f616fae-bb2f-4e83-8b83-a05a575b4e4f","product_id":"94a50a28-3b0f-4f44-8d32-6e7737f1670b","title":"Black-One Size","weight_unit":"g","inventory_quantity":895,"sku":"102207000001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/602ef5aca4a98ae0270579f333f07677.jpeg","path":"602ef5aca4a98ae0270579f333f07677.jpeg","width":800,"height":800,"alt":"Hiding In My Crotch Printed Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"118","compare_at_price":"14.48","price":"12.98","retail_price":"14.48","available":true,"url":"\/products\/hiding-in-my-crotch-printed-baseball-cap?variant=8f616fae-bb2f-4e83-8b83-a05a575b4e4f","available_quantity":895,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":13};
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":"8f616fae-bb2f-4e83-8b83-a05a575b4e4f","product_id":"94a50a28-3b0f-4f44-8d32-6e7737f1670b","title":"Black-One Size","weight_unit":"g","inventory_quantity":895,"sku":"102207000001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/602ef5aca4a98ae0270579f333f07677.jpeg","path":"602ef5aca4a98ae0270579f333f07677.jpeg","width":800,"height":800,"alt":"Hiding In My Crotch Printed Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"118","compare_at_price":"14.48","price":"12.98","retail_price":"14.48","available":true,"url":"\/products\/hiding-in-my-crotch-printed-baseball-cap?variant=8f616fae-bb2f-4e83-8b83-a05a575b4e4f","available_quantity":895,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":13};
return `
`
}()}