${function() {
const variantData = data.variant || {"id":"ac386cf8-e964-4bf3-a93c-3d872722cca9","product_id":"7f9407ec-837a-4577-a3e8-b21c6cab5a6d","title":"White","weight_unit":"g","inventory_quantity":983,"sku":"SKU102488380001","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d5da686cca7b1700bd57fa50e6f80db.jpeg","path":"7d5da686cca7b1700bd57fa50e6f80db.jpeg","width":800,"height":800,"alt":"Enjoy Life Originais Pattern Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":9.98,"min_quantity":1}],"weight":"100","compare_at_price":"14.48","price":"9.98","retail_price":"14.48","available":true,"url":"\/products\/enjoy-life-originais-pattern-baseball-cap?variant=ac386cf8-e964-4bf3-a93c-3d872722cca9","available_quantity":983,"options":[{"name":"Color","value":"White"}],"off_ratio":31,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"ac386cf8-e964-4bf3-a93c-3d872722cca9","product_id":"7f9407ec-837a-4577-a3e8-b21c6cab5a6d","title":"White","weight_unit":"g","inventory_quantity":983,"sku":"SKU102488380001","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d5da686cca7b1700bd57fa50e6f80db.jpeg","path":"7d5da686cca7b1700bd57fa50e6f80db.jpeg","width":800,"height":800,"alt":"Enjoy Life Originais Pattern Baseball Cap - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":9.98,"min_quantity":1}],"weight":"100","compare_at_price":"14.48","price":"9.98","retail_price":"14.48","available":true,"url":"\/products\/enjoy-life-originais-pattern-baseball-cap?variant=ac386cf8-e964-4bf3-a93c-3d872722cca9","available_quantity":983,"options":[{"name":"Color","value":"White"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}