mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#4865 optional seller information setting
This commit is contained in:
parent
4e8199bdd2
commit
4f7adccede
@ -49,6 +49,7 @@ return [
|
||||
'fields' => [
|
||||
'ads_date_hidden',
|
||||
'hide_seller_info',
|
||||
'hide_seller_info_by_category',
|
||||
]
|
||||
],
|
||||
'create_ad' => [
|
||||
|
||||
@ -437,6 +437,16 @@ return [
|
||||
'default_value' => false,
|
||||
]
|
||||
],
|
||||
'hide_seller_info_by_category' => [
|
||||
'type' => 'anomaly.field_type.checkboxes',
|
||||
'required' => true,
|
||||
'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' => [
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user