IT City Posted December 11, 2022 Share Posted December 11, 2022 Hi guys! There was a question how to make very fast registration. You only need to send a request with a phone number and name. How to organize it? Link to comment Share on other sites More sharing options...
IT City Posted December 13, 2022 Author Share Posted December 13, 2022 Hi, i'm find solution for this. To add an order entry into your database, you can initialize an order object as follows: $order = new Order(); $order->id_shop = 1; $order->id_cart = 12; $order->id_customer = 23; $order->payment = "COD"; $order->total_paid = 24500; $order->add(); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now