diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php index d8cabb3fa..8b322a998 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php @@ -53,6 +53,7 @@ return [ 'create_ad' => [ 'title' => 'visiosoft.module.advs::section.create_ad', 'fields' => [ + 'hide_contact_created_at', 'show_tax_field', 'detailed_product_options', 'steps_color', diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php index a3a68a62c..b99a1fa65 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php @@ -469,4 +469,10 @@ return [ 'default_value' => false, ], ], + 'hide_contact_created_at' => [ + 'type' => 'anomaly.field_type.boolean', + 'config' => [ + 'default_value' => false, + ] + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/setting.php b/addons/default/visiosoft/advs-module/resources/lang/en/setting.php index d79e86434..9eb3da933 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/setting.php @@ -133,6 +133,9 @@ return [ ], 'market_place' => [ 'name' => 'Market Place', + 'instructions' => 'If the marketplace is down, your site will act as ecommerce. For example, + some fields in the profile such as ads, dopings, messages, sale, packages and store are not visible and + removes corporate membership.' ], 'price_area_hidden' => [ 'name' => 'Price Area Hidden', @@ -280,4 +283,7 @@ return [ 'name' => 'Show Tax Field', 'instructions' => 'When this option is enabled, you can set the tax rate on the ad creation page.' ], + 'hide_contact_created_at' => [ + 'name' => 'Hide Contact Fields For in Create New Ad' + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/contact-info.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/contact-info.twig index 5fa33c649..f6e0df6db 100644 --- a/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/contact-info.twig +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/partials/contact-info.twig @@ -1,40 +1,42 @@ -
-

{{ trans('visiosoft.module.advs::field.contact_info') }}

-
- {% set showPhoneNumber = form.fields.show_phone_number.value %} -

{{ trans('visiosoft.module.advs::field.how_can_you_be_contacted') }}

-
-
+{% endif %}