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

#   I would like to be able to access a list of vendor

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#195331](#195331) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#195331 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")* was created by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")*

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.1
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.38
-- Browser(s) name and version -- : Firefox 36.0.1

Hello
I would like to be able to access a list of vendors on the basis of their state
Example: [ francecomm.org/index.php?option=com\_hika...arket&amp;layout=listing](http://francecomm.org/index.php?option=com_hikamarket&view=vendormarket&layout=listing) and add address_state = state_70Haute_Saone
How to do this?
Thanks for your reply

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODc1Nzg0LWktd291bGQtbGlrZS10by1iZS1hYmxlLXRvLWFjY2Vzcy1hLWxpc3Qtb2YtdmVuZG9yP3RtcGw9bWFya2Rvd24=) 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)
-

11 years 7 months ago [\#195404](#195404) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#195404 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

Hi,

Even if there is no such filter in the HikaMarket vendor listing ; it is something that you can add thanks to a plugin.
HikaMarket have a trigger called "onBeforeVendorListingDisplay" which allow you to modify the SQL query made to list the vendors.
[ www.hikashop.com/support/documentation/1...VendorListingDisplay](http://www.hikashop.com/support/documentation/163-hikamarket-developer.html#onBeforeVendorListingDisplay)

Thanks to that trigger, you can modify the filters ; something like that Code:

public function onBeforeVendorListingDisplay(&amp;$view, &amp;$sql_params) { if(JRequest::getString('state', '') == 'hautesaone') { $db = JFactor::getDBO(); $slq_params['filter']['vendor_address_state'] = 'vendor.vendor_address_state = ' . $db-&gt;Quote('state_70Haute_Saone'); } }

You can also check the menu item id or access to the view object to read some parameters (see if you're listing the menu or a module, etc).

Regards,

---

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

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#195420](#195420) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#195420 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

Too complicated for me, I drop
Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODc1Nzg0LWktd291bGQtbGlrZS10by1iZS1hYmxlLXRvLWFjY2Vzcy1hLWxpc3Qtb2YtdmVuZG9yP3RtcGw9bWFya2Rvd24=) 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)
-

11 years 7 months ago [\#195422](#195422) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#195422 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

Hi,

We have in our TODO list the support of the filters like HikaShop Business propose for the products.
But the current filter system in HikaShop need some modifications in order to be extensible and be used by HikaMarket ; so it won't be for tomorrow but I hope we will be able to add it soon.

Regards,

---

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

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

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#195434](#195434) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#195434 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

OK I'll wait
Thank you

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

11 years 1 month ago [\#213685](#213685) by [roojai](/forum/user/9880-roojai "View roojai's Profile")  Replied by *[roojai](/forum/user/9880-roojai "View roojai's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#213685 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

Hello,

I was wondering if there was any update on this. As I expect my shop will have over 100 vendors, so I need a way to filter them.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODc1Nzg0LWktd291bGQtbGlrZS10by1iZS1hYmxlLXRvLWFjY2Vzcy1hLWxpc3Qtb2YtdmVuZG9yP3RtcGw9bWFya2Rvd24=) 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)
-

11 years 1 month ago [\#213694](#213694) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#213694 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

Hi,

How do you want to filter them ?

Regards,

---

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

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

11 years 1 month ago [\#213763](#213763) by [roojai](/forum/user/9880-roojai "View roojai's Profile")  Replied by *[roojai](/forum/user/9880-roojai "View roojai's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#213763 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

It would be great to have

Sort by : name (asc/des)

Filter by custom field : Premium/Standard

Or perhaps another custom field: Local/International

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODc1Nzg0LWktd291bGQtbGlrZS10by1iZS1hYmxlLXRvLWFjY2Vzcy1hLWxpc3Qtb2YtdmVuZG9yP3RtcGw9bWFya2Rvd24=) 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)
-

11 years 1 month ago [\#213810](#213810) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[I would like to be able to access a list of vendor](/forum/19-hikamarket/875784-i-would-like-to-be-able-to-access-a-list-of-vendor#213810 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.1 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 36.0.1  Hello I would like to be able to access a list of vendors on the basis of their state Example:   francecomm.org/index.php?option=com&#95;hika...arket&amp;layout=listing  and add address&#95;state = state&#95;70Haute&#95;Saone How to do this? Thanks for your reply")*

Hi,

Thanks for the example.

I want to use the HikaShop filter system in HikaShop but unfortunately, it has been made long before HikaMarket and the team didn't think that it could be use in an add-on.
So, I can't use the HikaShop filters for the vendor listing for the moment.
That's mostly why I made the plugins "vendor location" in HikaMarket, to have a special filter for the vendor listings and also for the product listings.

One idea was to perform a re-factoring of the filters, to add new features, some flexibility and the possibility to use it in external components (like HikaMarket). It is an important development and I'm currently working on other big development for HikaShop (refactoring of the cart &amp; checkout).
Another solution would be to make a light filter system directly into HikaMarket, if I do so, it could be a full filter system because using the HikaShop system will be the best for everyone.

I updated the feature request in the HikaMarket TODO list ; I will see with the HikaShop team how and when we could work on that re-factoring and will decide if I create a lite version or not.

Regards,

---

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

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODc1Nzg0LWktd291bGQtbGlrZS10by1iZS1hYmxlLXRvLWFjY2Vzcy1hLWxpc3Qtb2YtdmVuZG9yP3RtcGw9bWFya2Rvd24=) 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.286 seconds

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

[](#top)
