I am new with OpenCart. I have a requirement to write an extension that integrates zoho with opencart. I have found many paid api but i would like to make my own. I understand I have to create a module for this but I need to know what event i have to subscribe to and also what object/variable will provide me the complete order information customer/order to pass to zoho.
As I have do have my own library for Zoho developed myself, the best location would be in an order total module in a new confirm() method so whenever the user token is found, an order may be edited. If not found, then it's a new order. As for the order complete status:
should already take care of that.
Code: Select all
$this->load->model('checkout/order'); $this->model_checkout_order->addOrderHistory(your parameters here)
The most generated errors being found on Opencart forum originates from contributed programming.
Who is online
Users browsing this forum: No registered users and 4 guests