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

#   problems selecting order status in back-end

##

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

Less More

- Posts: 20
- Thank you received: 1
-
-

10 years 11 months ago [\#221075](#221075) by [nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")  *[problems selecting order status in back-end](/forum/3-bug-report/880553-problems-selecting-order-status-in-back-end#221075 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : No error message  Hello,  I'm trying to update HikaShop to version 2.6.0 and installed my site in a test account (see the url I mentioned in this ticket). Upon testing I've found that in the configuration page I can't select some of the orders statuses I've defined and some of the fields that contained order statuses that are not available are now empty. I've looked into the code and found the problem. The query selecting those order statuses have a limit of 20 records (I have more then 20 order statuses). I've found that I can override the file &quot;administrator/components/com&#95;hikashop/views/config/tmpl/main.php&quot; using template overrides and set that limit in the function generating the field parameters for the order statuses like this:  Have added &quot; 'limit'=&gt;10000, &quot;. I'm guessing you will want to add this into the core of the extension so other that have more then 20 order statuses don't have the same problem.")* was created by *[nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : No error message

Hello,

I'm trying to update HikaShop to version 2.6.0 and installed my site in a test account (see the url I mentioned in this ticket).
Upon testing I've found that in the configuration page I can't select some of the orders statuses I've defined and some of the fields that contained order statuses that are not available are now empty.
I've looked into the code and found the problem. The query selecting those order statuses have a limit of 20 records (I have more then 20 order statuses).
I've found that I can override the file "administrator/components/com_hikashop/views/config/tmpl/main.php" using template overrides and set that limit in the function generating the field parameters for the order statuses like this: Code:

&lt;?php echo $this-&gt;nameboxType-&gt;display( 'config[payment_capture_order_status]', explode(',',$this-&gt;config-&gt;get('payment_capture_order_status')), hikashopNameboxType::NAMEBOX_MULTIPLE, 'order_status', array( 'default_text' =&gt; '&lt;em&gt;'.JText::_('HIKA_NONE').'&lt;/em&gt;', 'limit'=&gt;10000, ) ); ?&gt;

Have added " 'limit'=&gt;10000, ".
I'm guessing you will want to add this into the core of the extension so other that have more then 20 order statuses don't have the same problem.

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

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

Less More

- Posts: 20
- Thank you received: 1
-
-

10 years 11 months ago [\#221076](#221076) by [nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")  Replied by *[nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")* on topic *[problems selecting order status in back-end](/forum/3-bug-report/880553-problems-selecting-order-status-in-back-end#221076 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : No error message  Hello,  I'm trying to update HikaShop to version 2.6.0 and installed my site in a test account (see the url I mentioned in this ticket). Upon testing I've found that in the configuration page I can't select some of the orders statuses I've defined and some of the fields that contained order statuses that are not available are now empty. I've looked into the code and found the problem. The query selecting those order statuses have a limit of 20 records (I have more then 20 order statuses). I've found that I can override the file &quot;administrator/components/com&#95;hikashop/views/config/tmpl/main.php&quot; using template overrides and set that limit in the function generating the field parameters for the order statuses like this:  Have added &quot; 'limit'=&gt;10000, &quot;. I'm guessing you will want to add this into the core of the extension so other that have more then 20 order statuses don't have the same problem.")*

Of course, this has to be done for more then one field. The code I posted was just for example.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODA1NTMtcHJvYmxlbXMtc2VsZWN0aW5nLW9yZGVyLXN0YXR1cy1pbi1iYWNrLWVuZD90bXBsPW1hcmtkb3du) 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: 4080
-
- [](http://obsi.dev)
-

10 years 11 months ago [\#221082](#221082) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[problems selecting order status in back-end](/forum/3-bug-report/880553-problems-selecting-order-status-in-back-end#221082 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : No error message  Hello,  I'm trying to update HikaShop to version 2.6.0 and installed my site in a test account (see the url I mentioned in this ticket). Upon testing I've found that in the configuration page I can't select some of the orders statuses I've defined and some of the fields that contained order statuses that are not available are now empty. I've looked into the code and found the problem. The query selecting those order statuses have a limit of 20 records (I have more then 20 order statuses). I've found that I can override the file &quot;administrator/components/com&#95;hikashop/views/config/tmpl/main.php&quot; using template overrides and set that limit in the function generating the field parameters for the order statuses like this:  Have added &quot; 'limit'=&gt;10000, &quot;. I'm guessing you will want to add this into the core of the extension so other that have more then 20 order statuses don't have the same problem.")*

Hi,

Thanks for the report.
But I think that the best modification, would be to update the function "getNameboxData" in the HikaShop category class.
So you can change the default limitation for the order statuses.
In our side we will perform some tests and see to activate the dynamic loading on the order statuses, like we made for the warehouses and some other elements available through the namebox system.

Regards,

---

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

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

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

Less More

- Posts: 20
- Thank you received: 1
-
-

10 years 11 months ago [\#221097](#221097) by [nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")  Replied by *[nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")* on topic *[problems selecting order status in back-end](/forum/3-bug-report/880553-problems-selecting-order-status-in-back-end#221097 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : No error message  Hello,  I'm trying to update HikaShop to version 2.6.0 and installed my site in a test account (see the url I mentioned in this ticket). Upon testing I've found that in the configuration page I can't select some of the orders statuses I've defined and some of the fields that contained order statuses that are not available are now empty. I've looked into the code and found the problem. The query selecting those order statuses have a limit of 20 records (I have more then 20 order statuses). I've found that I can override the file &quot;administrator/components/com&#95;hikashop/views/config/tmpl/main.php&quot; using template overrides and set that limit in the function generating the field parameters for the order statuses like this:  Have added &quot; 'limit'=&gt;10000, &quot;. I'm guessing you will want to add this into the core of the extension so other that have more then 20 order statuses don't have the same problem.")*

Hi,

Thank you for your reply.
I'm trying to modify the code of the extensions as little as possible.
For now the change I made is doing it's job.
I hope the code will be fixed in the next release and I can remove the template override.

By the way, I think the tax zones on the same page (the configuration) has the same problem.

Regards

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

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

Time to create page: 0.066 seconds

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