From 06c548c96a4a72875b251487cedb735a53d8025c Mon Sep 17 00:00:00 2001 From: Mykola Zahorulko Date: Mon, 29 Sep 2025 15:27:51 +0200 Subject: [PATCH] Add format price function --- format-price/idmFormatPrice.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 format-price/idmFormatPrice.js diff --git a/format-price/idmFormatPrice.js b/format-price/idmFormatPrice.js new file mode 100644 index 0000000..922b244 --- /dev/null +++ b/format-price/idmFormatPrice.js @@ -0,0 +1,3 @@ +idmFormatPrice(price) { + return ${format_price(price, {currency: ' ' + app_shop.vars.currency.symbol,mask: "###,##0,00"})} +} \ No newline at end of file