CoolTeamGraceShopper / GraceShopper

0 stars 1 forks source link

schema, order, and shopping cart changes. #90

Closed boob1e closed 6 years ago

boob1e commented 6 years ago

need to add to order model the fields for shipping. need to fix shopping cart component props, undefined and NaN.

user can now login, and checkout an order.

if user doesnt have an unfullfilled order(shopping cart), create a new order with no line items. if user does have unfulfilled order, use that order as activeOrder for id.

when refreshing, user now does me() to check req.user in Routes (root) component

shopping cart badge now updates when new items are added to the cart.


CHECKOUT THIS BRANCH AND PULL BEFORE MERGE


run to double check. big change.