VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: sandomatyas on December 15, 2021, 06:22:04 AM

Title: Filter orders on admin by shipment/payment method
Post by: sandomatyas on December 15, 2021, 06:22:04 AM
Now we have an order status filter and a name filter for orders.
Could you please consider adding a shipment/payment method filter as well?
Title: Re: Filter orders on admin by shipment/payment method
Post by: sandomatyas on December 15, 2021, 06:58:47 AM
Hm, as far as I can see it's a simple shopfunctions::renderShipmentDropdown() call in the layout and the corresponding where statement in the model's getOrdersList function. I like that is a multiselect, so I can filter for multiple shipments.
I've added it myself and also created the corresponding renderPaymentmethodDropdown() function as well.

Could you please extend the core code with this?
Title: Re: Filter orders on admin by shipment/payment method
Post by: Milbo on January 12, 2022, 12:48:12 PM
Just take the last core https://dev.virtuemart.net/attachments/1296/com_virtuemart.3.8.9.10578_package_or_extract.zip

Please add your changes there, and provide us (me) the changed files. Maybe here as zip, or contact me via skype. I think you have my contact. I send you a pn.