Closed jra457 closed 1 year ago
Product price is now stored in the OrderItem class, so I updated the corresponding test case. Original:
order_item = OrderItem.objects.create(order=order, product=product, quantity=2)
Updated:
order_item = OrderItem.objects.create(order=order, product=product, price=product.price, quantity=2)
Updating profile information or registering as new user will now check if names contain special characters or numbers and error out. If a user attempts to update their profile to an existing email, will error out. Added password1 and password2 fields to register and profile that checks if they match.
Added shipping info form to profile.html that includes address1, address2, city, state and zip code.