https://lh3.googleusercontent.com/-wJkpJ7YeOyg/VuE9F4r95uI/AAAAAAAAAB4/8Bv7mhfS8g8/s1600/Screenshot%2Bfrom%2B2016-03-10%2B14%253A53%253A13.png
I was practicing rails by creating a food ordering website some what
similar to FoodPanda.
For now I have created pages to display restaurants, in restaurant
profile
to display menu items. I stuck up with a doubt how could I add the add
to
cart functionality button for a menu item.
I request some one to help me for its functionality.
Please find the screenshot attachment of the restaurant profile page
with
menu items.
Thanks in Advance.
On Mar 10, 2016, at 4:23 AM, Atchyut N. [email protected]
wrote:I was practicing rails by creating a food ordering website some what similar to
FoodPanda.
For now I have created pages to display restaurants, in restaurant profile to
display menu items. I stuck up with a doubt how could I add the add to cart
functionality button for a menu item.
I request some one to help me for its functionality.
Please find the screenshot attachment of the restaurant profile page with menu
items.
Are you looking for design ideas, as in what models you will need and
how to organize their associations and controllers? What have you tried
so far in the direction of creating a cart?
Note that there are full-blown shopping carts out there (shopify have
open-sourced theirs, I think, probably many others) but if you are
learning, then making your own is a great exercise.
Try to narrow down your question a bit (and try something first), and
someone here can help you.
Walter
Thanks for your kind words Walter, I have finally created the cart
functionality using a controller.
Thanks for the response
On Thursday, March 10, 2016 at 9:24:59 PM UTC+5:30, Atchyut N.
Can you post in github? I need learn too. Thanks!
Hi, in case you still want to build a food delivery website, there are some things to consider, for example, which monetization model to choose, what kind of features you need to add for a website to be successful, and so on.