i want to sort ordered products from A to Z. admin can see the products in order, and seect them from the shelf. it is described admin orders.php as array. should i sort the in controller/order.php or model/order.php. how can i sort array?
you will need to modify the SQL in admin/model/sale/order.php getOrderProducts by adding the below to the query
Code: Select all
ORDER BY name
You should do this with vQmod or OCMOD really.MarketInSG wrote: ↑Wed Mar 13, 2019 12:32 pmyou will need to modify the SQL in admin/model/sale/order.php
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: Semrush [Bot] and 96 guests