#2493 emlak24 ads edited page

This commit is contained in:
Diatrex 2020-10-28 10:56:07 +03:00
parent fa0ead6f4b
commit a60854b38d
4 changed files with 34 additions and 21 deletions

View File

@ -29,6 +29,7 @@ return [
'default_published_time', 'default_published_time',
'default_GET', 'default_GET',
'hide_standard_price_field', 'hide_standard_price_field',
'hide_options_field',
'listing_page_image', 'listing_page_image',
], ],
], ],

View File

@ -124,6 +124,13 @@ return [
'default_value' => false, 'default_value' => false,
] ]
], ],
'hide_options_field' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => false,
'mode' => 'checkbox'
]
],
'enabled_currencies' => [ 'enabled_currencies' => [
'bind' => 'streams::currencies.enabled', 'bind' => 'streams::currencies.enabled',
'env' => 'ADV_ENABLED_CURRENCIES', 'env' => 'ADV_ENABLED_CURRENCIES',

View File

@ -97,6 +97,9 @@ return [
'hide_standard_price_field' => [ 'hide_standard_price_field' => [
'name' => 'Hide Standard Price Field', 'name' => 'Hide Standard Price Field',
], ],
'hide_options_field' => [
'name' => 'Hide Options Field',
],
'enabled_currencies' => [ 'enabled_currencies' => [
'name' => 'Enabled Currencies', 'name' => 'Enabled Currencies',
], ],

View File

@ -122,6 +122,7 @@
</div> </div>
</div> </div>
{% if not setting_value('visiosoft.module.advs::hide_options_field') %}
<div class="row form-group select-options"> <div class="row form-group select-options">
<label for="selectOptions" class="col-sm-2"> <label for="selectOptions" class="col-sm-2">
{{ trans('visiosoft.module.advs::field.options') }} {{ trans('visiosoft.module.advs::field.options') }}
@ -146,6 +147,7 @@
{{ form.fields.product_options_value.input|raw }} {{ form.fields.product_options_value.input|raw }}
</div> </div>
</div> </div>
{% endif %}
<div class="row form-group brand-name"> <div class="row form-group brand-name">
<div class="col-md-12"> <div class="col-md-12">