${function() {
const variantData = data.variant || {"id":"547d660f-09a2-4983-ad8e-f9019e5c3656","product_id":"bf953aa4-5e7b-4d1a-9c36-3408b8d45b87","title":"Black-One Size","weight_unit":"g","inventory_quantity":686,"sku":"102275520001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c8545f9f6585b44862e3f23ed0a590d.jpeg","path":"1c8545f9f6585b44862e3f23ed0a590d.jpeg","width":2000,"height":2000,"alt":"The Earth... It Form 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\/the-earth-it-form-printed-baseball-cap?variant=547d660f-09a2-4983-ad8e-f9019e5c3656","available_quantity":686,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":0};
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":"547d660f-09a2-4983-ad8e-f9019e5c3656","product_id":"bf953aa4-5e7b-4d1a-9c36-3408b8d45b87","title":"Black-One Size","weight_unit":"g","inventory_quantity":686,"sku":"102275520001","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c8545f9f6585b44862e3f23ed0a590d.jpeg","path":"1c8545f9f6585b44862e3f23ed0a590d.jpeg","width":2000,"height":2000,"alt":"The Earth... It Form 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\/the-earth-it-form-printed-baseball-cap?variant=547d660f-09a2-4983-ad8e-f9019e5c3656","available_quantity":686,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":10,"flashsale_info":[],"sales":0};
return `
`
}()}