Merge pull request #1244 from openclassify/4865

#4865 optional seller information setting
This commit is contained in:
profstyle1 2021-12-08 10:30:54 +03:00 committed by GitHub
commit b463353249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 0 deletions

View File

@ -49,6 +49,7 @@ return [
'fields' => [
'ads_date_hidden',
'hide_seller_info',
'hide_seller_info_by_category',
]
],
'create_ad' => [

View File

@ -437,6 +437,15 @@ return [
'default_value' => false,
]
],
'hide_seller_info_by_category' => [
'type' => 'anomaly.field_type.checkboxes',
'config' => [
'mode' => 'tags',
'options' => function () {
return app(\Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface::class)->getMainCategories()->pluck('name', 'id');
},
],
],
'detailed_product_options' => [
'type' => 'anomaly.field_type.boolean',
'config' => [

View File

@ -233,6 +233,10 @@ return [
'name' => 'Hide Seller Information',
'instructions' => 'Hiding to seller infos in ads detail page',
],
'hide_seller_info_by_category' => [
'name' => 'Hide Seller Information By Category',
'instructions' => 'Hiding to seller infos by selected main categories in ads detail page',
],
'show_post_ad_agreement' => [
'name' => 'Show Post Ad Agreement',
'instructions' => 'Turn this on if you want to display a privacy policy agreement on the ad creation page',

View File

@ -230,6 +230,10 @@ return [
'name' => 'Satıcı Bilgilerini Gizle',
'instructions' => 'İlan detay sayfasında satıcı bilgilerinin gizlenmesi',
],
'hide_seller_info_by_category' => [
'name' => 'Satıcı Bilgilerini Kategori Bazlı Gizle',
'instructions' => 'İlan detay sayfasında seçilen ana kategorilere göre satıcı bilgilerinin gizlenmesi',
],
'show_post_ad_agreement' => [
'name' => 'İlan Sonrası Sözleşmesini Göster',
'instructions' => 'Reklam oluşturma sayfasında bir gizlilik politikası sözleşmesi görüntülemek istiyorsanız bunu açın',