Answer the question
In order to leave comments, you need to log in
Orders are not processed OcStore 3.0.x?
I ran into this problem: when trying to remove extra fields from the checkout, I had to edit the template + comment some lines in the .php files in the controller. I don’t know about php myself, I followed the guide, in the end nothing happened, in the end, as far as I understood, it stopped setting the ID for the order and setting it, which is why such errors (linking) fly out. At the same time, orders made are not displayed in the admin panel. After clicking the checkout button, a similar error occurs:
The function itself with the problematic line:
if ($this->customer->isLogged()) {
$data['text_message'] = sprintf($this->language->get('text_customer'), $this->url->link('account/order/info&order_id=' . $this->session->data['last_order_id'], '', true), $this->url->link('account/account', '', true), $this->url->link('account/order', '', true), $this->url->link('information/contact'), $this->url->link('product/special'), $this->session->data['last_order_id'], $this->url->link('account/download', '', true));
} else {
$data['text_message'] = sprintf($this->language->get('text_guest'), $this->url->link('information/contact'), $this->session->data['last_order_id']); # проблемная строчка
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question