D
D
Dmitry2016-12-08 21:11:58
PHP
Dmitry, 2016-12-08 21:11:58

Where are the files that sends to the OpenCart admin database?

Good evening developers!
There was such a question, which file in OPENCART is responsible for sending the order to the admin panel database ..
That is, in detail:
When a user adds some product to the basket and makes a purchase ...
All this appears in the admin panel, in orders.
The result, which file is responsible for sending the order to the database - to orders in the admin panel

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor, 2016-12-08
@egormmm

The files that are used are specified in the address bar, parameter route=folder/file/method.
In this situation, one file is placed in the basket, and another one is selected in the admin panel.

D
Dim Boy, 2016-12-08
@twix007

cart.php

S
Sergey Gnatyuk, 2017-01-07
@sgnatyuk

OpenCart uses MVC, it follows that all database manipulations occur in models, look in the controller which method, which model is called when the order passes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question