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

#   Ordering Vendors via Menu Item

##

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

Less More

- Posts: 158
- Thank you received: 6
-
-

11 years 3 weeks ago [\#218872](#218872) by [artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")  *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#218872 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")* was created by *[artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")*

-- url of the page with the problem -- : [ artrageus1.com/members](http://artrageus1.com/members)
-- HikaShop version -- : 3.6
-- HikaMarket version -- : 1.6.6
-- Joomla version -- : 3..5
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : n/a

Hello,

I am trying to order the vendors in my hikamarket store: [ artrageus1.com/members](http://artrageus1.com/members)

Based upon your recommendation, I added a "Custom Field" radio button with 6 options. I ordered them within the custom field:

[ ![&#91;img](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/a11efab2-8fc0-4bbe-8721-8995e2845a1a/10.29.2015-10.59.png) ](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/a11efab2-8fc0-4bbe-8721-8995e2845a1a/10.29.2015-10.59.png "&#91;img")

Then I setup the menu to show these vendors according to the custom field "membertype".
[ ![&#91;img](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/6288f5d1-4b1c-4e65-a54f-febc8b751ed4/10.29.2015-11.03.png) ](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/6288f5d1-4b1c-4e65-a54f-febc8b751ed4/10.29.2015-11.03.png "&#91;img")

If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the "value" area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.

**May I request the following be considered:**

1. Add the ability to create modules that only display vendors that meet the selected "values" from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title "Artists", authors in a second module, and authors in a third module).

2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgwMTQ5LW9yZGVyaW5nLXZlbmRvcnMtdmlhLW1lbnUtaXRlbT90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 weeks ago -  11 years 3 weeks ago [\#218882](#218882) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#218882 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

Hi,

In the file "components/com_hikamarket/views/vendormarket/view.html.php" please replace Code:

$pageInfo-&gt;filter-&gt;order-&gt;dir = $app-&gt;getUserStateFromRequest($this-&gt;paramBase . '.filter_order_Dir', 'filter_order_Dir_' . $this-&gt;params-&gt;get('main_div_name'), $this-&gt;params-&gt;get('order_dir','ASC'), 'word');

By Code:

$pageInfo-&gt;filter-&gt;order-&gt;dir = $app-&gt;getUserStateFromRequest($this-&gt;paramBase . '.filter_order_Dir', 'filter_order_Dir_' . $this-&gt;params-&gt;get('main_div_name'), $this-&gt;params-&gt;get('vendor_order_dir','ASC'), 'word');

It will fix the ordering direction issue.

For the rest, the selection of the column is working fine.
Please understand that it is far better to use numeric values instead of text if you want to perform a sort ; because that is made directly by the database.
So please use numeric data for the "value" of the "values".

About your requests.

1. I understand your request but I can't add that feature directly in the HikaMarket settings.

But it is already possible to create such kind of feature thanks to a custom plugin, using the trigger "onBeforeVendorListingDisplay".
The plugin "HikaMarket / Vendor Location" is a sample of plugin which is using that filter in order to filter the vendors depending the location given by the user.
Future version of HikaMarket will also have trigger to allow to extends the settings of the menus/modules, like HikaShop currently have. The design of the menu/module edition will also be improved in order to have the same look that HikaShop one.

2. I'm sorry but your configuration looks wrong to me.
You're using an "Access Level" so that's logical that the customer field is not display for everybody in the front-end.

Regards,

---

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

Last edit: 11 years 3 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: fix file path

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

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

Less More

- Posts: 158
- Thank you received: 6
-
-

11 years 3 weeks ago [\#218907](#218907) by [artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")  Replied by *[artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#218907 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

> Jerome wrote: In the file "" please replace

Which File?

> Jerome wrote: I'm sorry but your configuration looks wrong to me.
> You're using an "Access Level" so that's logical that the customer field is not display for everybody in the front-end.

Ah, that makes sense. I thought Access Level meant who could actually configure these custom fields. Of course it's for who can see them. Facepalm.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgwMTQ5LW9yZGVyaW5nLXZlbmRvcnMtdmlhLW1lbnUtaXRlbT90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 weeks ago [\#218908](#218908) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#218908 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

Hi,

I have edit my previous message ; little mistake with the clipboard ![:)](/media/kunena/emoticons/3.png ":)")

Regards,

---

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

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

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

Less More

- Posts: 158
- Thank you received: 6
-
-

11 years 4 days ago [\#221387](#221387) by [artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")  Replied by *[artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#221387 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

Hi Jerome,

I have now updated the file "components/com_hikamarket/views/vendormarket/view.html.php" with the code you provided and when I change the order from ascending to descending, it does change the order. This is an improvement. The next problem is that I have sorted the members in the menu item based on a custom field called "Membertype". In membertype I have the Types sorted in the order that I want them to appear on the menu item page. The problem is that the menu item display is not acknowledging that order. Instead it is sorting them by the custom field membertype using alphabetical sorting. I would like it to be sorted the way I have them ordered in the custom field, like this:

[ ![&#91;img](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/ed7d5733-efd1-4f42-9b49-85669e604910/11.20.2015-14.57.png) ](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/ed7d5733-efd1-4f42-9b49-85669e604910/11.20.2015-14.57.png "&#91;img")

Instead I am getting Artists-10% first and the rest of the Types alphabetically.

Thanks for you help on this.

Dawn

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgwMTQ5LW9yZGVyaW5nLXZlbmRvcnMtdmlhLW1lbnUtaXRlbT90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 4 days ago [\#221388](#221388) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#221388 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

Hi,

> Please understand that it is far better to use numeric values instead of text if you want to perform a sort ; because that is made directly by the database.
> So please use numeric data for the "value" of the "values".

Regards,

---

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

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

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

Less More

- Posts: 158
- Thank you received: 6
-
-

10 years 11 months ago [\#224269](#224269) by [artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")  Replied by *[artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#224269 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

Hello,

I have updated the "Value"s in the custom field MemberType with numbers to see if that would fix the problem with ordering. It did nothing to get 1. Artist 25% to show up first on the Menu Item page "Vendors Listing".

[ ![&#91;img](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/c352ce04-233b-463a-aff4-f4e8e1c6c316/12.15.2015-12.21.png) ](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/c352ce04-233b-463a-aff4-f4e8e1c6c316/12.15.2015-12.21.png "&#91;img")

Please advise what I should do next.

Thanks,

Dawn

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgwMTQ5LW9yZGVyaW5nLXZlbmRvcnMtdmlhLW1lbnUtaXRlbT90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 11 months ago [\#224276](#224276) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#224276 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

Hi,

> Please understand that it is far better to use numeric values instead of text if you want to perform a sort ; because that is made directly by the database.
> So please use numeric data for the "value" of the "values".

What I am trying to explain you is that you have to use numeric values : Code:

1 2 3 4 5 ...

and not values with special characters.

The other part is ; did you update your vendors after modifying the custom field values ?
Because if in the database, the stored value is still "Artist 25%" and "Author", but not "1. Artist 25%" and "6. Author" ; the sorting won't change.

The display of the custom fields is using the HikaShop custom field class and will convert the value (so, a number) into the corresponding "Title".
The value is just the data to store in your database.

After that, I see that you are still using HikaMarket 1.6.6 ; we have release HikaMarket 1.6.7 few weeks ago and that version is now stable.
[ www.hikashop.com/support/documentation/1...arket-changelog.html](https://www.hikashop.com/support/documentation/147-hikamarket-changelog.html)

Regards,

---

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

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

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

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

Less More

- Posts: 158
- Thank you received: 6
-
-

10 years 11 months ago [\#224655](#224655) by [artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")  Replied by *[artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile")* on topic *[Ordering Vendors via Menu Item](/forum/23-market-how-to/880149-ordering-vendors-via-menu-item#224655 "-- url of the page with the problem -- :   artrageus1.com/members  -- HikaShop version -- : 3.6 -- HikaMarket version -- : 1.6.6 -- Joomla version -- : 3..5 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : n/a  Hello,  I am trying to order the vendors in my hikamarket store:   artrageus1.com/members  Based upon your recommendation, I added a &quot;Custom Field&quot; radio button with 6 options. I ordered them within the custom field:  Then I setup the menu to show these vendors according to the custom field &quot;membertype&quot;.  If I change it from ascending to descending it doesn't modify the order. Furthermore, it is showing Artists 10% before Artists 25% which is not how it's ordered within the &quot;value&quot; area of the custom field type. Therefore, I'm not getting any logical result from the Ordering field.  May I request the following be considered:  1. Add the ability to create modules that only display vendors that meet the selected &quot;values&quot; from the custom field. This way I can stack the vendors in filtered modules that will have headers. (ie: all artists vendors in one module with the title &quot;Artists&quot;, authors in a second module, and authors in a third module).  2. Add the ability to display the custom field under the vendors name. You can see from my configuration that I've set all views to Yes so the custom field shows, but nothing is turning up on the front-end. I also have it set within the global configuration to show.")*

That worked, thank you!

Here's a screenshot of the configuration that allowed me to order vendors with a custom field:

[ ![&#91;img](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/26a0b6ab-b042-4e71-99d2-c1e129b58fed/12.19.2015-13.19.png) ](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/26a0b6ab-b042-4e71-99d2-c1e129b58fed/12.19.2015-13.19.png "&#91;img")

And the Menu Item configuration for a list of Vendors:

[ ![&#91;img](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/df632cb9-c182-4650-b339-9be1fb4a7179/12.19.2015-13.20.png) ](http://content.screencast.com/users/MyArtisanWeb/folders/Snagit/media/df632cb9-c182-4650-b339-9be1fb4a7179/12.19.2015-13.20.png "&#91;img")

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

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