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

#   Search options in 'Orders' page

##

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

Less More

- Posts: 159
- Thank you received: 2
-
-

6 years 5 months ago [\#319978](#319978) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#319978 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")* was created by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18

Hi,
we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this?
I attched a screenshot of the page where we want to have this function.
Thanks
Roger

- [ ![Bildschirmfoto2020-05-29um15.52.33.png](/forum/attachment/49558) ](/forum/attachment/49558 "...um15.52.33.png") [ ](/forum/attachment/49558?download=1 "...um15.52.33.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 5 months ago [\#319983](#319983) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#319983 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi,

There is no option to add that, but it would be possible with some development.
You would have to develop a "hikashop" plugin, implementing the events :
- onBeforeOrderListing($paramBase, &amp;$extrafilters, &amp;$pageInfo, &amp;$filters, &amp;$tables, &amp;$searchMap)
To be able to add conditions to the MySQL query searching for the orders in the $filters array
- onHikashopBeforeDisplayView(&amp;$view)
To be able to add to the $view-&gt;extraFilters array an object with a method displayFilter($name, $data) to display the HTML of your filter.

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

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

Less More

- Posts: 159
- Thank you received: 2
-
-

6 years 5 months ago [\#320121](#320121) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#320121 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi Nicolas,
thanks for your answer. Will this plugin show the search fields in the order view? The reason we need this search function is, to export invoices by country and payment option for our accountant. For instance: all invoices of the last month for France payed with PayPal.
Maybe there is another way to achieve this. If not, would you be able to do a plugin for us?
Thanks
Roger

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 5 months ago [\#320126](#320126) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#320126 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi,

Yes, such plugin will add these search fields in the orders listing.
Now if you want to do an export of the orders data filtered on the payment method and country, it's possible with a mass action.
You can add a filter on the order column order_payment_method and a second filter on the billing or shipping address_country and have an action "export a CSV".
It's a bit of tinkering, but it should work fine.
But otherwise, we could develop such plugin for you, yes.

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

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

Less More

- Posts: 159
- Thank you received: 2
-
-

6 years 5 months ago [\#320156](#320156) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#320156 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi Nicolas,
I thought about mass action, but I can only export a CSV. We need the invoice PDFs for our accountant. Could you please let me know how much it would cost, if you do it for us?
Thanks
Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMDAyNi1zZWFyY2gtb3B0aW9ucy1pbi1vcmRlcnMtcGFnZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/28604-lousyfool)

Less More

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

6 years 5 months ago [\#320163](#320163) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#320163 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi,

How I've done it:
1. If you don't have it yet, there's a [ PDF Invoice Plugin](https://www.hikashop.com/marketplace/product/18-plugin-pdf.html) for just EUR 10.00
2. BCC the accountant on order status notification emails.
3. Client and accountant = happy.

---

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=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMDAyNi1zZWFyY2gtb3B0aW9ucy1pbi1vcmRlcnMtcGFnZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 5 months ago [\#320166](#320166) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#320166 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi,

Such plugin development would cost 300€.
If you're interested, you can contact us with a link to this thread via our contact form:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile")
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

5 years 8 months ago [\#331135](#331135) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#331135 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Was this plug-in ever developed?

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

5 years 8 months ago [\#331144](#331144) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Search options in 'Orders' page](/forum/45-filters-search/900026-search-options-in-orders-page#331144 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18  Hi, we would need the possibility to sort orders by the clients countries and by ordered product. Is there a possibility to do this? I attched a screenshot of the page where we want to have this function. Thanks Roger")*

Hi,

No.
Between the PDF invoice plugin for PDFs and the mass action export for CSVs it covers a wide range of cases I suppose.

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

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