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

#   'Custom' order statuses don't save

##

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago -  11 years 8 months ago [\#193785](#193785) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  *['Custom' order statuses don't save](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193785 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")* was created by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")*

-- url of the page with the problem -- : local
-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.0
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.19
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : none

Hi Jerome,

Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. ![:(](/media/kunena/emoticons/22.png ":(")

In the configuration are a few fields where order statuses can/must be selected:
1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter
2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter
3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses
4.) -&gt; Market options -&gt; General options -&gt; both "Updatable order statuses" &amp; "Valid order statuses"

In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.

So, I've added 'custom' order statuses in HikaShop (e.g. "paid") to the 'default' ones that were already there (e.g. "created").
If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded.
If I use a 'default' status, it saves fine and displays that status in the field on page reload.
If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.

You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...

It used to work ok in equivalent fields in 1.5.1.

---

BTW, any update of documentation in sight? ![;)](/media/kunena/emoticons/24.png ";)")

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 11 years 8 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile"). Reason: added 4.)

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago [\#193787](#193787) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193787 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Hmm, interestingly, under
-&gt; Market options -&gt; General options -&gt; Updatable order statuses
I can't delete the "created" status anymore. I don't want any status there (because I don't vendors to be able to update or do anything else with orders), but whatever I try, since "created" is in there, I can't get it back out anymore - deleting it and saving, and on page reload "created" is back in the field.

Also worked fine in 1.5.1.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTUxOS1jdXN0b20tb3JkZXItc3RhdHVzZXMtZG9udC1zYXZlP3RtcGw9bWFya2Rvd24=) 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 8 months ago [\#193821](#193821) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193821 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Hi,

For the empty order status field ; it will be fix in the next release.
I will always send some content for the namboxes with multiple elements, so HikaMarket will always see some content for the setting but it requires some code in the "other side" to filter the empty data.
For the moment I made the modification in the config but it could have some side effect in a lot of other parts.

For your first point, I'm sorry but I can't reproduce. I can use my custom order statuses without any issue.

Regards,

---

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

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago -  11 years 8 months ago [\#193835](#193835) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193835 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

> Jerome wrote: For your first point, I'm sorry but I can't reproduce. I can use my custom order statuses without any issue.

How did you do that?

I just tried it on the demo site [ demo.hikashop.com](http://demo.hikashop.com):
Created a new order status ("Paid") in the HikaShop backend.
Over to the HikaMarket backend, trying to use it in any of the fields I mentioned.
Nada, niente, nothing, nichts. Doesn't work.

What's the trick you used? Maybe try your demo site, too? ![;)](/media/kunena/emoticons/24.png ";)")

---

Update:
I just installed a site on my live web server:
Bare-naked J!3.4.0, HS2.4.0, HM1.6.0 - Protostar, demo content, one more super user (you?), nothing else.
Added order status "testing" in HS.
Then tried using it in any of the fields in HM config.
It can't be simpler than that (what can you screw up in this process?), **but it does not work.**

Now I have tried three (3) sites. Mine here locally, your demo site, my own other minimal site (which you are welcome to try, too).

Please tell me why it works for you? Thanks.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 11 years 8 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTUxOS1jdXN0b20tb3JkZXItc3RhdHVzZXMtZG9udC1zYXZlP3RtcGw9bWFya2Rvd24=) 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 8 months ago -  11 years 8 months ago [\#193843](#193843) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193843 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Hi,

It means that the issue has already been fix for the next version (which is in tests for a release this week).
In the file "administrator/components/com_hikamarket/classes/category.php" you can replace Code:

$search = array(); foreach($value as $v) { $search[] = (int)$v; } $query = 'SELECT c.* '. ' FROM ' . hikamarket::table('shop.category') . ' AS c '. ' WHERE c.category_id IN ('.implode(',', $search).')'; $this-&gt;db-&gt;setQuery($query);

By Code:

$search = array(); $f = reset($value); if(is_int($f) &#124;&#124; (int)$f &gt; 0) { foreach($value as $v) { $search[] = (int)$v; } $query = 'SELECT c.* '. ' FROM ' . hikamarket::table('shop.category') . ' AS c '. ' WHERE c.category_id IN ('.implode(',', $search).')'; } else { foreach($value as $v) { $search[] = $this-&gt;db-&gt;Quote($v); } $query = 'SELECT c.* '. ' FROM ' . hikamarket::table('shop.category') . ' AS c '. ' WHERE c.category_name IN ('.implode(',', $search).')'; } $this-&gt;db-&gt;setQuery($query);

To solve the issue.

Regards,

---

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

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

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago [\#193845](#193845) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193845 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Merci Jerome,

But sorry, the exact "new" code block was already in my file (lines 353-370). So, I already had the latest &amp; greatest snippet, and that's not the cure, I fear... ![:(](/media/kunena/emoticons/22.png ":(")

Any other ideas?

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTUxOS1jdXN0b20tb3JkZXItc3RhdHVzZXMtZG9udC1zYXZlP3RtcGw9bWFya2Rvd24=) 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 8 months ago -  11 years 8 months ago [\#193848](#193848) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193848 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Hi,

**Edited**
It will be fix in the next release. I'm currently talking with Nicolas in order to have a fixed solution for this.

Regards,

---

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

Last edit: 11 years 8 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago [\#193852](#193852) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193852 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

> Jerome wrote: **Edited**
> It will be fix in the next release.

Uh, was just going to report that category_namekey didn't help either... as you sure know yourself by now.
Just for the fun of it, I even tried _alias, haha, because that's a proper term in the database ("testing"), while _namekey is the awkward "status_1425902033_1784386519"...

Anyway, in good hands with you. Let me know if you need a real-world guinea pig before release. ![;)](/media/kunena/emoticons/24.png ";)")

Many thanks again!

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTUxOS1jdXN0b20tb3JkZXItc3RhdHVzZXMtZG9udC1zYXZlP3RtcGw9bWFya2Rvd24=) 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 8 months ago [\#193854](#193854) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193854 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

HikaShop is using category_name and does not use the namekey ; even if the category name can be altered by components like falang/joomfish.
Which is something pretty annoying ![:)](/media/kunena/emoticons/3.png ":)")

---

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

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTUxOS1jdXN0b20tb3JkZXItc3RhdHVzZXMtZG9udC1zYXZlP3RtcGw9bWFya2Rvd24=) 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 8 months ago [\#193860](#193860) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193860 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Just to inform you that I fix the code in the post
[ www.hikashop.com/forum/22-market-bug-rep...n-t-save.html#193843](http://www.hikashop.com/forum/22-market-bug-report/875519-custom-order-statuses-don-t-save.html#193843)
with the category_namekey =&gt; category_name modification.

---

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

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

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago [\#193866](#193866) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[...and 'default' order status doesn't delete...](/forum/22-market-bug-report/875519-custom-order-statuses-dont-save#193866 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.19 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  Hi Jerome,  Coming from HikaMarket 1.5.1, it looks like 1.6.0 (very fresh download) can't deal with 'custom' order statuses anymore. :(  In the configuration are a few fields where order statuses can/must be selected: 1.) -&gt; Your vendor (or any other, of course) -&gt; Vendor options -&gt; Order notification status filter 2.) -&gt; Main -&gt; Email options -&gt; Order notification status filter 3.) -&gt; Main -&gt; Statistics -&gt; Valid order statuses 4.) -&gt; Market options -&gt; General options -&gt; both &quot;Updatable order statuses&quot; &amp; &quot;Valid order statuses&quot;  In any of these, the system only saves 'default' statuses that came 'out of the box' with HikaShop, not 'custom-made/added' order statuses.  So, I've added 'custom' order statuses in HikaShop (e.g. &quot;paid&quot;) to the 'default' ones that were already there (e.g. &quot;created&quot;). If I try using a 'custom' status in any of the HikaMarket fields mentioned above and save, the fields are empty again once the page has reloaded. If I use a 'default' status, it saves fine and displays that status in the field on page reload. If I use a combo of both, one 'custom' and one 'default', the system only saves and displays the 'default' one.  You should be easily able to reproduce it: just add a new order status in the shop, then try selecting and saving it in the market config where mentioned, save, and watch it vanishing...  It used to work ok in equivalent fields in 1.5.1.  -----  BTW, any update of documentation in sight? ;)")*

Aaaah... there goes category_namekey to category_name!

**YESSSSS!** Changed, and without further a-do the order status "testing" is grinning at me in the namebox... actually, it was still waiting there for me, on loading the config page it was (still) there!

You da man!!! :woohoo:
Thank you, thank you!

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

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

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