is it possible use filter to show only some orders?

  • Posts: 189
  • Thank you received: 7
2 months 4 weeks ago #361462

hi.
is there any way to filter these orders to show a specific product orders?
for example can i create a joomla menu item and use Query Param to filter orders of a product?
for example something such as this:
demo.hikashop.com/index.php/en/hikamarke...order/listing?cid=25

Please Log in or Create an account to join the conversation.

  • Posts: 26101
  • Thank you received: 4021
  • MODERATOR
2 months 4 weeks ago #361466

Hello,

You can add such kind of filter in HikaShop order listing and HikaMarket order listing via the plugin system.
www.hikashop.com/support/documentation/6...onBeforeOrderListing
HikaMarket uses the same trigger than HikaShop but you can check if the application is running in the backend or the frontend to make the difference of context.

onBeforeOrderListing($paramBase, &$extrafilters, &$pageInfo, &$filters, &$joins, &$searchMap)

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: sadaf3d

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.058 seconds
Powered by Kunena Forum