From 907a0803b17d16bb0f07d61e72451a1025f696c5 Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Mon, 26 Apr 2021 12:12:43 +0300 Subject: [PATCH] Show Price To Members Only --- .../advs-module/resources/views/ad-detail/partials/detail.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig index 460dc4085..fd4d80c35 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig @@ -1,6 +1,6 @@
+ {{ setting_value('visiosoft.module.advs::show_price_to_members_only') ? (not auth_check() ? 'd-none') }}"> {% set standardPrice = adv.standard_price.value %} {% if standardPrice and standardPrice > 0 %}