P
P
photosho2020-03-19 17:00:36
opencart
photosho, 2020-03-19 17:00:36

Why is the list of orders not displayed in the Personal Account?

The list of orders is not displayed in the User's Personal Account. I dug into the depths and saw that the "customer_id" field is not filled in the "oc_order" table (everywhere is 0). Has anyone come across?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
photosho, 2020-03-20
@photosho

Problem solved. In the "/catalog/controller/checkout/cartweb.php" file, in the "save_cart" method, the "if ($this->customer->isLogged()) {...}" block was commented out, in which this variable was set .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question