bedford Posted August 30, 2022 Share Posted August 30, 2022 (edited) Hi, I've seen they are csv templates to import products, categories and customers in BO but there is no order import. I didn't find a free/cheap module for a one time need and willing to learn prestashop programming (I start ps programming) does anybody know what are the steps to create an order programmatically. As I see you must create a cart first then make an order. Is that correct ? It's there an easier way ? I couldn't find the documentation about cart and orders classes. Thank you for your help. Edited August 30, 2022 by bedford (see edit history) Link to comment Share on other sites More sharing options...
Constantino Posted September 2, 2022 Share Posted September 2, 2022 if you need to import orders one time, you can use this tool's free trial https://www.prestashopmanager.com/useful-articles/prestashop-orders/how-to-import-orders-to-prestashop/ Link to comment Share on other sites More sharing options...
bedford Posted September 3, 2022 Author Share Posted September 3, 2022 Hi and thank you for your answer. Unfortunately I'm building/installing my prestashop slowly, step by step, and I won't be able to import in only 14 days (free trial delay). Actually I could programmatically create carts, orders, products in order and link to customer. Unfortunately I can't delete created carts so any customer get as many carts are they are orders, so if anybody know what do do with cart once it's transformed in order, I'll be grateful. I'll continue to improve my module and so I also understand how to make new modules for my needs. Thank you 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