${function() {
const variantData = data.variant || {"id":"c7f7a796-1d51-45de-b0ee-db261d49df8c","product_id":"4e1deadb-fb15-4019-96ec-1b232c004fdd","title":"Brown Leather","weight_unit":"kg","inventory_quantity":987,"sku":"NG1848467-\u01a4\u063a","barcode":"","position":1,"option1":"Brown Leather","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44f0647934984ccdc94693d5a9e043d5.jpeg","path":"44f0647934984ccdc94693d5a9e043d5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"129.99","price":"64.99","retail_price":"129.99","available":true,"url":"\/products\/orion-steel-silver?variant=c7f7a796-1d51-45de-b0ee-db261d49df8c","available_quantity":999999999,"options":[{"name":"straps","value":"Brown Leather"}],"off_ratio":50,"flashsale_info":[],"sales":6};
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.