mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-13 00:36:04 -06:00
fixed mobile sub-cats
This commit is contained in:
parent
92eadf3821
commit
120aa11ac7
@ -38,6 +38,7 @@ return [
|
||||
'get_categories',
|
||||
'listing_page_image',
|
||||
'show_ads_count',
|
||||
'show_subcats_mobile',
|
||||
],
|
||||
],
|
||||
'ads_detail' => [
|
||||
|
||||
@ -437,4 +437,10 @@ return [
|
||||
'default_value' => true,
|
||||
]
|
||||
],
|
||||
'show_subcats_mobile' => [
|
||||
'type' => 'anomaly.field_type.boolean',
|
||||
'config' => [
|
||||
'default_value' => false,
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
@ -262,4 +262,7 @@ return [
|
||||
'name' => 'Detailed Product Options',
|
||||
'instructions' => 'Allows you to enter stock and price information for the product'
|
||||
],
|
||||
'show_subcats_mobile' => [
|
||||
'name' => 'Show subcategories on mobile view',
|
||||
]
|
||||
];
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
<div id="mobileListingPage" class="d-sm-none mb-5">
|
||||
{% include "visiosoft.module.advs::list/partials/sub-categories-mobile" %}
|
||||
{% if setting_value('visiosoft.module.advs::show_subcats_mobile') %}
|
||||
{% include "visiosoft.module.advs::list/partials/sub-categories-mobile" %}
|
||||
{% endif %}
|
||||
{% if not hideBreadcrump %}
|
||||
{% include "visiosoft.module.advs::list/partials/mobile-breadcrumb" %}
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user