mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#4865 optional seller information setting
This commit is contained in:
parent
4e8199bdd2
commit
4f7adccede
@ -49,6 +49,7 @@ return [
|
|||||||
'fields' => [
|
'fields' => [
|
||||||
'ads_date_hidden',
|
'ads_date_hidden',
|
||||||
'hide_seller_info',
|
'hide_seller_info',
|
||||||
|
'hide_seller_info_by_category',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'create_ad' => [
|
'create_ad' => [
|
||||||
|
|||||||
@ -437,6 +437,16 @@ return [
|
|||||||
'default_value' => false,
|
'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' => [
|
'detailed_product_options' => [
|
||||||
'type' => 'anomaly.field_type.boolean',
|
'type' => 'anomaly.field_type.boolean',
|
||||||
'config' => [
|
'config' => [
|
||||||
|
|||||||
@ -233,6 +233,10 @@ return [
|
|||||||
'name' => 'Hide Seller Information',
|
'name' => 'Hide Seller Information',
|
||||||
'instructions' => 'Hiding to seller infos in ads detail page',
|
'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' => [
|
'show_post_ad_agreement' => [
|
||||||
'name' => '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',
|
'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