News:

Looking for documentation? Take a look on our wiki

Main Menu

Order filter by status - How to set a default value?

Started by jlabuelo_sm, November 06, 2016, 21:28:10 PM

Previous topic - Next topic

jlabuelo_sm

hi there
This must seem an easy question, (or maybe it is not possible in Virtuemart3) but I have been looking for this for days!!
We are using virtuemart 3.0.18 over our joomla system,and everything works fine. Issue is that in the orders list screen there is a combo to filter the orders shown by the status of the order. The default value always is "Choose order status", and we would like to set this default value of the filter to "Confirmed", so everytime an user gets to this screen is able to check first the confirmed orders and then if needed check orders with other status.

Is this possible?, and if so, how can we do it? (even if we need to modify any php code).
Thanks a lot in advance!!

K&K media production

for the left admin menu orders link:

go to your database table #__virtuemart_adminmenuentries, edit the item where name is COM_VIRTUEMART_ORDER_S and paste this url as link:
index.php?option=com_virtuemart&view=orders&order_status_code=C

for the joomla top menu orders link:

go to your database table #__menu, edit the item where title is COM_VIRTUEMART_MENU_ORDERS and paste this url as link:
index.php?option=com_virtuemart&view=orders&order_status_code=C

jlabuelo_sm


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/