Answer the question
In order to leave comments, you need to log in
How to get items in opencart cart?
Hello everyone , I'm new
to
opencart, so I ran into such a problem (I looked at the PS documentation and did not find an answer to my question there)
each product was assigned a unique number (it will be random from letters and numbers). And even if you bought 2 identical goods, then "bolt 1" will have one number, and "bolt 2" will have another.
The problem is that I can not find the controller and the method that is responsible for the items in the cart.
Answer the question
In order to leave comments, you need to log in
In opencart, everything is simple,
the controller that is responsible for the cart is called "Cart"
https://github.com/opencart/opencart/blob/master/u...
Only the product, when added, as far as I remember, is stored in the session.
PySy https://github.com/opencart/opencart/blob/master/u...
starting from line 130, everything is written there what goes where and how
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question