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

#   Customers List in HikaMarket Front-End Order Page Keeps Loading

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-
-

9 years 7 months ago [\#263585](#263585) by [mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")  *[Customers List in HikaMarket Front-End Order Page Keeps Loading](/forum/22-market-bug-report/889087-customers-list-in-hikamarket-front-end-order-page-keeps-loading#263585 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : Safari 10.0.3  Hello,  1- Whenever I try to &quot;Change Customer&quot; in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading. The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.  2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders. My question is: how can I add an &quot;Add Order&quot; button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?  Your prompt help is appreciated, Kind regards.")* was created by *[mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")*

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.4.43
-- Browser(s) name and version -- : Safari 10.0.3

Hello,

1- Whenever I try to "Change Customer" in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading.
The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.

[ ![ScreenShot2017-02-28at1.49.30AM.png](/forum/attachment/36656) ](/forum/attachment/36656 "...t1.49.30AM.png")

2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders.
My question is: how can I add an "Add Order" button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?

Your prompt help is appreciated,
Kind regards.

- [ ![ScreenShot2017-02-28at1.49.30AM.png](/forum/attachment/36656) ](/forum/attachment/36656 "...t1.49.30AM.png") [ ](/forum/attachment/36656?download=1 "...t1.49.30AM.png")

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

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

Less More

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

9 years 7 months ago [\#263589](#263589) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Customers List in HikaMarket Front-End Order Page Keeps Loading](/forum/22-market-bug-report/889087-customers-list-in-hikamarket-front-end-order-page-keeps-loading#263589 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : Safari 10.0.3  Hello,  1- Whenever I try to &quot;Change Customer&quot; in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading. The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.  2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders. My question is: how can I add an &quot;Add Order&quot; button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?  Your prompt help is appreciated, Kind regards.")*

Hello,

1 - You gave us a private link but we will need an account in order to reproduce the issue and see what you search result gave you.
Can you please send us that information thanks to the "contact us" form ?
Please also include a link to that forum thread (so the support team will know what to do with the information) and also some details in order to reproduce the issue (like the search you're doing).

2 - I think that would require some modification in the HikaMarket core OR the usage of a custom plugin.
In HikaMarket, there is a function to create a new order (which is used by the "new" button that you see in your front-end order listing), but that function will just create an empty order, with no user attach.
So, the first possibility is to improve that function so you would be possible to give more parameters (more data) so the order will be create with already few pre-set elements. Please note that editing the core is not recommended because you will loose your modification during updates (unless it is integrated into HikaMarket).
The second solution is to use a custom plugin so you can create new functions (new controller) in HikaMarket environment and have your own "new order" function that you will be able to use afterwards.

Regards,

---

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

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-
-

9 years 7 months ago [\#263613](#263613) by [mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")  Replied by *[mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")* on topic *[Customers List in HikaMarket Front-End Order Page Keeps Loading](/forum/22-market-bug-report/889087-customers-list-in-hikamarket-front-end-order-page-keeps-loading#263613 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : Safari 10.0.3  Hello,  1- Whenever I try to &quot;Change Customer&quot; in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading. The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.  2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders. My question is: how can I add an &quot;Add Order&quot; button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?  Your prompt help is appreciated, Kind regards.")*

Hello Jerome,
Thanks for the swift reply.

1- I have sent you all the required as instructed via your Contact us form - your prompt action is appreciated.
2- Alright, can you please tell me how to achieve this using your first suggestion (core modification): Which file to modify and what to add/edit?

Your continuous help is very thanked,
Respectful regards.

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

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

Less More

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

9 years 7 months ago [\#263700](#263700) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Customers List in HikaMarket Front-End Order Page Keeps Loading](/forum/22-market-bug-report/889087-customers-list-in-hikamarket-front-end-order-page-keeps-loading#263700 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : Safari 10.0.3  Hello,  1- Whenever I try to &quot;Change Customer&quot; in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading. The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.  2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders. My question is: how can I add an &quot;Add Order&quot; button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?  Your prompt help is appreciated, Kind regards.")*

Hello,

Thanks for the report.
Can you please download HikaMarket 1.7.3 in order to get the patch I made ?

Regards,

---

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

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-
-

9 years 7 months ago [\#263722](#263722) by [mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")  Replied by *[mhdlabs](/forum/user/46345-mhdlabs "View mhdlabs's Profile")* on topic *[Customers List in HikaMarket Front-End Order Page Keeps Loading](/forum/22-market-bug-report/889087-customers-list-in-hikamarket-front-end-order-page-keeps-loading#263722 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : Safari 10.0.3  Hello,  1- Whenever I try to &quot;Change Customer&quot; in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading. The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.  2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders. My question is: how can I add an &quot;Add Order&quot; button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?  Your prompt help is appreciated, Kind regards.")*

Hello,
Thanks for help, Jerome.

1- **I'll be grateful if you can mention the patched files that address this specific issue**, as I have done a bunch of core-files modifications that I do not want to lose at the mean time.

Any add/edit code is very thanked,
Kind regards.

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

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

Less More

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

9 years 7 months ago [\#263759](#263759) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Customers List in HikaMarket Front-End Order Page Keeps Loading](/forum/22-market-bug-report/889087-customers-list-in-hikamarket-front-end-order-page-keeps-loading#263759 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.4.43 -- Browser(s) name and version -- : Safari 10.0.3  Hello,  1- Whenever I try to &quot;Change Customer&quot; in HikaMarket Front-End Order View page the Customers List that appear in ajax loads about the first 20 customers then if you scrolled down the list to load more the spinner will appear and the list keeps loading. The same happens if you try to search for someones email, name or user id that is not in the already loaded 20 users; the spinner also appears and keeps loading! - as attached.  2- In HikaMarket Front-End User View, the page typically shows the user's info, addresses and orders. My question is: how can I add an &quot;Add Order&quot; button at the user's page so that I can directly click that button and a new order is created with the selected customer's data?  Your prompt help is appreciated, Kind regards.")*

Hi,

I'm afraid that won't be possible due to the size and the complexity of the patch.

Regards,

---

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

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

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

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

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

Time to create page: 0.252 seconds

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

[](#top)
