${function() {
const variantData = data.variant || {"id":"68721a30-afb7-4a1e-bdbb-5dc321277d02","product_id":"54682ae3-5506-45ef-9fd6-82ca4a63b20f","title":"Silver-BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"Mini-Electric-Shaver-Silver-1PC","barcode":"","position":1,"option1":"Silver","option2":"BUY 1","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/476116a1ebcb372f0e149f07b021596b.jpg","path":"476116a1ebcb372f0e149f07b021596b.jpg","width":1900,"height":1900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"42.99","retail_price":"0","available":true,"url":"\/products\/mini-electric-shaver-for-men-pocket-size-washable-electric-razor-men-travel-portable-cordless-shaver?variant=68721a30-afb7-4a1e-bdbb-5dc321277d02","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"},{"name":"Style","value":"BUY 1"}],"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.