small medium large xlarge

Generic-user-small
22 Apr 2016, 11:18
Peterson Fonseca (1 post)

Hello everybody, I am weeks trying to create a shopping cart system , which is why I bought the book . However , I need to function a little differently . 1 - The system will have several stores , each with its products and two orders. ( Already managed to create most relationships . )

2 - The orders will be displayed in the show page of each store . 3 - I need that when the User click checkout so the User data ( will be using devise ) + the cart data is saved in the table orders.

I have great difficulty in step number 3. I do not know how to send these cart data to the table orders. I thank anyone who can help me . Thank you. Follow the project code. The checkout button on this card show named “ Finalizar compra “

https://github.com/PetersonFonseca/Duvida_loja

You must be logged in to comment