is it possible use filter to show only some orders?

  • Posts: 201
  • Thank you received: 7
6 months 1 week 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: 26165
  • Thank you received: 4029
  • MODERATOR
6 months 1 week 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.059 seconds
Powered by Kunena Forum