${function() {
const variantData = data.variant || {"id":"2712e94d-6dbe-47e8-ba43-f2740edd5531","product_id":"482e63ee-456e-4243-9e71-e977464621ff","title":"Black\ud83d\udd25\ud83d\udd25","weight_unit":"kg","inventory_quantity":999,"sku":"XA1856822-\u026b","barcode":"","position":1,"option1":"Black\ud83d\udd25\ud83d\udd25","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ed4c831d06e618af70dbf5f7329e3ff.jpeg","path":"1ed4c831d06e618af70dbf5f7329e3ff.jpeg","width":757,"height":757,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.98,"min_quantity":1}],"weight":"0","compare_at_price":"25.7","price":"12.98","retail_price":"25.7","available":true,"url":"\/products\/einstellbare-auto-hundeleine?variant=2712e94d-6dbe-47e8-ba43-f2740edd5531","available_quantity":999999999,"options":[{"name":"Color","value":"Black\ud83d\udd25\ud83d\udd25"}],"off_ratio":49,"flashsale_info":[],"sales":3};
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.