I am a newby to opencart. I want the administrator/store owner to be able to update the ORDER_STATUS of the orders that are listed in the ORDERS_LIST A.K.A.
I modified the TWIG so that each order has a dropdown menu on the order status column.
Upon selection of the new order status, I would like to update the table and trigger an email or notification event.
Common sense tells me that there should be an OrderUpdate Function in the OrderModel...
Anybody care to tell me where I might find an OrderUpdate function. Cause I looked in all the common sense places and havent found anything.
Thank you to anybody who can point me in the general direction.
And I know I am not supposed to be modifying core content, but us newbies dont have much of a choice because the documentation and tutorials are severely lacking. I am working on V18.104.22.168
Tue Sep 13, 2022 10:33 am
OC v.22.214.171.124 does not exist ...
My Github OC Site: https://github.com/IP-CAM
5'000 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
Surely just look at the AJAX endpoint that updates orders and see what methods are being email@example.com wrote: ↑Sun Sep 25, 2022 4:05 amAnybody care to tell me where I might find an OrderUpdate function.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email firstname.lastname@example.org
Mon Aug 22, 2011 11:01 pm
you can see what url is used and what data is sent by opening Developer Tools in google chrome (other browsers are almost similar), the url obtained will show which function is used
2022-10-15_3.png (105.07 KiB) Viewed 521 times
HP Web Design
Opencart Extension Development | OpenCart Professional Services | OpenCart Tutorials
Wed Aug 15, 2018 6:58 am
Who is online
Users browsing this forum: No registered users and 18 guests