S
S
Serge Tkach2016-10-19 09:16:39
opencart
Serge Tkach, 2016-10-19 09:16:39

How to add the number of steps in the application process in OpenCart?

It is necessary to send it to CRM before sending it for payment
- If the user is in CRM, then half the trouble
- If the user is not in CRM, then issue a registration confirmation button
Now I do the interception in the place after the code:
if ($this->validate() && ($ asap || (!$asap && $this->data['simple_create_order']))) {
// Get order data via
$this->load->model('checkout/order');
$order_data = false;
$order_data = $this->model_checkout_order->getOrder($order_id);
}
So far, after intercepting data for debugging, exit. But I don’t know how to stop forwarding for payment and show information about the discount calculated through CRM, and then send the amount with the discount to the payment card. I will obviously spend more than 1 day on the analysis, since I am new to OpenCart, but I need to do it tomorrow ...
I will be very grateful for the help !!!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question