Push your code changes to your repository. After the application has deployed, visit your application’s website, and sign in with user you created when testing your Lambda trigger.
When you are redirected to the home page after signing in, you will notice that the shopping cart logo will have a 0
on it. This number will update as you added items to your shopping cart.
Follow these steps to test the functionality:
Add to Cart
button associated with the item. The page will refresh and now the shopping cart logo will have a 1
on it. This confirms that something was added to your shopping cart.2
.X
for either one of the items to remove that item from your cart. The page will refresh and now your shopping cart will only have 1
item in it. This confirms that the application was able to remove that item from your cart.
If you were able to complete all of these steps with the expected outcomes, you can confirm that all shopping cart functionality is working correctly. If not, please review the Shopping Cart Utility and the Shopping Cart Endpoint modules to make sure you have not missed any steps.