${function() {
const variantData = data.variant || {"id":"58cf6f7b-365b-4949-b33d-6b6277a56e26","product_id":"2209ede6-31cc-405b-8448-3a3b95431fc8","title":"Black-One Size","weight_unit":"g","inventory_quantity":977,"sku":"102275010001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a7b96618765efd2c4bb00503721e03d0.jpeg","path":"a7b96618765efd2c4bb00503721e03d0.jpeg","width":2000,"height":2000,"alt":"But Did You Die? Printed Baseball Cap - cioyinc","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\/but-did-you-die-printed-baseball-cap?variant=58cf6f7b-365b-4949-b33d-6b6277a56e26","available_quantity":977,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":10};
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":"58cf6f7b-365b-4949-b33d-6b6277a56e26","product_id":"2209ede6-31cc-405b-8448-3a3b95431fc8","title":"Black-One Size","weight_unit":"g","inventory_quantity":977,"sku":"102275010001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a7b96618765efd2c4bb00503721e03d0.jpeg","path":"a7b96618765efd2c4bb00503721e03d0.jpeg","width":2000,"height":2000,"alt":"But Did You Die? Printed Baseball Cap - cioyinc","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\/but-did-you-die-printed-baseball-cap?variant=58cf6f7b-365b-4949-b33d-6b6277a56e26","available_quantity":977,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":10};
return `
`
}()}