${function() {
const variantData = data.variant || {"id":"ee206b45-854b-457c-b813-c85c25c46790","product_id":"a963372f-eaef-4dae-820f-b99639fe2de6","title":"Black-One Size","weight_unit":"g","inventory_quantity":808,"sku":"102206950001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c6c14eeb3fe7e6d239a49cc733d251b.jpeg","path":"7c6c14eeb3fe7e6d239a49cc733d251b.jpeg","width":800,"height":800,"alt":"Unholy 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\/unholy-printed-baseball-cap?variant=ee206b45-854b-457c-b813-c85c25c46790","available_quantity":808,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":2};
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":"ee206b45-854b-457c-b813-c85c25c46790","product_id":"a963372f-eaef-4dae-820f-b99639fe2de6","title":"Black-One Size","weight_unit":"g","inventory_quantity":808,"sku":"102206950001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c6c14eeb3fe7e6d239a49cc733d251b.jpeg","path":"7c6c14eeb3fe7e6d239a49cc733d251b.jpeg","width":800,"height":800,"alt":"Unholy 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\/unholy-printed-baseball-cap?variant=ee206b45-854b-457c-b813-c85c25c46790","available_quantity":808,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":2};
return `
`
}()}