Jump to content

Add order, address, customer function


ContactAdv

Recommended Posts

Hello...world of prestashop :) 

 

I am developing a module for our fav CMS, where you can upload an xml file parse it and create and store records of new customers orders and addresses. 

 

You see my company has an online shop running smoothly however we get orders from telephones where we create a customer order and address via the cms. But this is time consuming as the orders are increasing. We have the ability to store temporaly the orders in an onether database and export it to an xml file. 

 

So far i created a module where you upload this xml file and start processing it. 

 

The question is...is there a function already created that i can use to create customers, orders and address or shall i create these functions? 

 

Thank you in advance!

Link to comment
Share on other sites

Well, there are various functions that already exist, now it is time for you to build a module that calls them all.  not going to be an easy task.

 

My first thought is to use CSV files instead, perhaps convert the XML to CSV and then use the import CSV feature of the back office.

My second thought is to locate an existing module that might already do something like this for you.  Store Manager perhaps?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...