diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/field.php b/addons/default/visiosoft/advs-module/resources/lang/en/field.php index 525c0d27c..2d09d304e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/field.php @@ -296,4 +296,6 @@ return [ // New create page 'options' => 'Options', + + 'free' => 'Free' ]; diff --git a/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig b/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig index 4e5d91253..6b1a34ed6 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig @@ -20,7 +20,14 @@
- {{ adv.price.currency(null,'currency') }} +

+ {{ adv.standard_price != adv.price and adv.standard_price != '0' + ? adv.standard_price.currency(null,"currency") + : '' }} +

+ {{ adv.price != '0' + ? adv.price.currency(null,"currency") + : trans('visiosoft.module.advs::field.free') }}
{% if setting_value('visiosoft.module.location::list_page_location') %}