Skip to main content

is it possible use filter to show only some orders?

More
2 years 4 months ago #361462 by sadaf3d
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.

More
2 years 4 months ago #361466 by Jerome
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.
Code:
onBeforeOrderListing($paramBase, &$extrafilters, &$pageInfo, &$filters, &$joins, &$searchMap)

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
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.157 seconds
Powered by Kunena Forum