${function() {
const variantData = data.variant || {"id":"c23683da-ddb0-4648-bac4-df2d88f0a2d7","product_id":"336df46b-c3d5-4da5-bce2-9a0991777b64","title":"Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"Rotating-Pen-Holder-Blue-1pc","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d454036657e5fcb0633cb53ce548dac.jpg","path":"5d454036657e5fcb0633cb53ce548dac.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/futuristic-360-rotating-bathroom-makeup-brush-compartment-shelf-storage-box-dormitory-desktop?variant=c23683da-ddb0-4648-bac4-df2d88f0a2d7","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":0,"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.