${function() {
const variantData = data.variant || {"id":"bc480312-5307-4cfe-885b-015a2a643771","product_id":"f2c341a3-e4f6-46a2-80fb-526a0fb85c28","title":"Black-One Size","weight_unit":"g","inventory_quantity":771,"sku":"102199290001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44e0976afe55bdba83175220c2b199f7.jpeg","path":"44e0976afe55bdba83175220c2b199f7.jpeg","width":800,"height":800,"alt":"Little Pecker Club Letter Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"9.48","price":"12.98","retail_price":"9.48","available":true,"url":"\/products\/little-pecker-club-letter-baseball-cap?variant=bc480312-5307-4cfe-885b-015a2a643771","available_quantity":771,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":31};
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":"bc480312-5307-4cfe-885b-015a2a643771","product_id":"f2c341a3-e4f6-46a2-80fb-526a0fb85c28","title":"Black-One Size","weight_unit":"g","inventory_quantity":771,"sku":"102199290001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44e0976afe55bdba83175220c2b199f7.jpeg","path":"44e0976afe55bdba83175220c2b199f7.jpeg","width":800,"height":800,"alt":"Little Pecker Club Letter Baseball Cap - ","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"85","compare_at_price":"9.48","price":"12.98","retail_price":"9.48","available":true,"url":"\/products\/little-pecker-club-letter-baseball-cap?variant=bc480312-5307-4cfe-885b-015a2a643771","available_quantity":771,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":31};
return `
`
}()}