Jump to content

is there any database interaction when click "add to cart" ?


Recommended Posts

hello everybody


I have a question if there is any database interaction iin prestashop when I click on "add to card" button ,if there is can one tell me what table used to record all the informations that it will be next displayed in checkout page


and thank you for the help

Share this post

Link to post
Share on other sites

whole "adding to cart" process use ps_cart, ps_cart_product tables

Hi vekia,

I'm developping a kind of dropshipping module for our company.

I already coded the client part, to Post the order. Just need to insert into database. Does each order need a cart? I've identified these table i need to insert to: order_carrier, order_detail, order_history, orders. Am i missing any? Think orders_invoice and order_invoice_payment will only be added when the client pays...

Or do you know/recommend an easier way?


Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More