[Skip to main content](#vessel-content)

#   vendor frontend show "all sub elements"

##

- **[denharry](/forum/user/36936-denharry "View denharry's Profile")**
- [![denharry's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36936-denharry "View denharry's Profile") Topic Author
- [ Offline](/forum/user/36936-denharry)

Less More

- Posts: 10
- Thank you received: 0
-
-

10 years 10 months ago [\#224242](#224242) by [denharry](/forum/user/36936-denharry "View denharry's Profile")  *[vendor frontend show "all sub elements"](/forum/19-hikamarket/881104-vendor-frontend-show-all-sub-elements#224242 "-- url of the page with the problem -- :   www.mixandmatchforkids.be/  -- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.5.30  I would like &quot;all sub elements&quot; have as standard rather than &quot;direct sub elements&quot;. See pictures. Where can I change that?")* was created by *[denharry](/forum/user/36936-denharry "View denharry's Profile")*

-- url of the page with the problem -- : [ www.mixandmatchforkids.be/](http://www.mixandmatchforkids.be/)
-- HikaShop version -- : 2.6.0
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.5.30

I would like "all sub elements" have as standard rather than "direct sub elements". See pictures. Where can I change that?

- [ ![Frontendvendor.jpg](/forum/attachment/28479) ](/forum/attachment/28479 "...tendvendor.jpg") [ ](/forum/attachment/28479?download=1 "...tendvendor.jpg")
- [ ![Frontendvendor1.jpg](/forum/attachment/28480) ](/forum/attachment/28480 "...endvendor1.jpg") [ ](/forum/attachment/28480?download=1 "...endvendor1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODgxMTA0LXZlbmRvci1mcm9udGVuZC1zaG93LWFsbC1zdWItZWxlbWVudHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 10 months ago [\#224248](#224248) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendor frontend show "all sub elements"](/forum/19-hikamarket/881104-vendor-frontend-show-all-sub-elements#224248 "-- url of the page with the problem -- :   www.mixandmatchforkids.be/  -- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.5.30  I would like &quot;all sub elements&quot; have as standard rather than &quot;direct sub elements&quot;. See pictures. Where can I change that?")*

Hi,

It requires a modification in the "components/com_hikamarket/views/productmarket/view.html.php" to replace Code:

$pageInfo-&gt;selectedType = $app-&gt;getUserStateFromRequest($this-&gt;paramBase.'.filter_type', 'filter_type', 0, 'int');

Into Code:

$pageInfo-&gt;selectedType = $app-&gt;getUserStateFromRequest($this-&gt;paramBase.'.filter_type', 'filter_type', 1, 'int');

But because it is a core file, you will lose your modification with the next update.
So, I suggest to use an hidden configuration setting instead : Code:

$pageInfo-&gt;selectedType = $app-&gt;getUserStateFromRequest($this-&gt;paramBase.'.filter_type', 'filter_type', (int)$config-&gt;get('default_filter_type_product_listing', 0), 'int');

Thanks to that you have just to create a new entry in the "hikamarket_config" table for the namekey "default_filter_type_product_listing" and put "1" as value.
And that setting will be added in the HikaMarket hidden settings.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [denharry](/forum/user/36936-denharry "View denharry's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODgxMTA0LXZlbmRvci1mcm9udGVuZC1zaG93LWFsbC1zdWItZWxlbWVudHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.172 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
