${function() {
const variantData = data.variant || {"id":"74e3c8ac-65b2-4cd8-9478-6f3c326ebe59","product_id":"99ac4775-9574-4d16-930c-080e5fb15237","title":"Golden suit","weight_unit":"kg","inventory_quantity":5054,"sku":"FXHN2208171038-Golden suit","barcode":"","position":1,"option1":"Golden suit","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b884bbba1d2349081a12392d0bb2cc78.jpeg","path":"b884bbba1d2349081a12392d0bb2cc78.jpeg","width":428,"height":365,"alt":"Metallic Cutout Necklace Same Bracelet Set","aspect_ratio":1.1726027397260275},"wholesale_price":[{"price":12.3,"min_quantity":1}],"weight":"0.04","compare_at_price":"20.85","price":"12.3","retail_price":"20.85","available":true,"url":"\/products\/metallic-cutout-necklace-same-bracelet-set?variant=74e3c8ac-65b2-4cd8-9478-6f3c326ebe59","available_quantity":999999999,"options":[{"name":"color","value":"Golden suit"}],"off_ratio":41,"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.