diff --git a/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig b/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig
index d2140a2c8..3ec082fff 100644
--- a/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig
+++ b/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig
@@ -17,7 +17,9 @@
{% if setting_value('visiosoft.theme.base::price_fields') %}
- {{ adv.price }} {{ adv.currency }}
+ {{ adv.price != '0'
+ ? adv.price.currency()
+ : trans('visiosoft.module.advs::field.free') }}
{% endif %}
diff --git a/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php b/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php
index afe39ebb2..12dfebc50 100644
--- a/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php
+++ b/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php
@@ -37,6 +37,9 @@ class Currency
$suffix = $this->symbol($currency);
}
+ if (is_object($number)) {
+ $number = $number->getValue();
+ }
$decimal_value = $this->getDecimalValue($number);