My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Cannot add to cart in restaurant page
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  xuyangch...@gmail.com
Closed:  Apr 2010


 
Project Member Reported by xuyangch...@gmail.com, Apr 30, 2010
What steps will reproduce the problem?
1. Go to restaurant.show page
2. Click dish, try add to cart

What is the expected output? What do you see instead?
Expected dish item add to the sidebar cart, only the restaurant name shows.
Expected cart_count in dish list, NaN instead.

Apr 30, 2010
Project Member #1 xuyangch...@gmail.com
JS need restaurant ID.

Add class name "restaurant${restaurantInfo.restaurant.id}" to <li class="restaurant"> solves this problem.
Status: Verified

Powered by Google Project Hosting