Jump to content

can I create an order and put the product into it ?


jemmeli

Recommended Posts

hello everybody

 

I have a a module that do an custumization to a product after the customization the client make an order . I would like to give a possibility to create an order directly from the module .

 

1)create an order

2)put products into it

3)redirect to checkout page to see the products

 

is it possible to do that? if yes, can you give me any tips? thanks

 

and thank you for your time and help in advance

Link to comment
Share on other sites

what kind of module you've got? well, everythig depends on module, if you have got feature to add orders there - it is possible ,if not - it isn't.

 

by default in prestashop 1.5 you can also create orders under the orders tab in back office, just click "add new" button to create new order.

  • Like 1
Link to comment
Share on other sites

thanks vekia for the help ,

 

I dont want make an order from backoffice , i want do it throu front office my module is similar to infobia module http://demo.infobia.tn/home/8-casquette-.html , i have a button to save the customization , my question is when I made the customization does the informations of the custumazation get stored in new database table or in the prestashop's predifined table ?

 

I know that after the changes were made I click the button add to card and with the help of prestashop's function ajaxCart.add to make the changes as an order that can be viewed in the checout page

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...