Now the cart price in navbar updates dynamically as we update the items in the cart.
Fixes #249
Type of change
Please give a X on it which is applicable
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactor Code
[ ] A documentation update
[ ] Others(mentioned in the issue number)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Added the items to cart, changed their quantities and verified that the price gets updated correctly.
Provide instructions so we can reproduce.
simply add some items in the cart
in the navbar click on the cart icon
Screenshorts and Vedios:
Checklist:
give a X on it which is applicable
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Now the cart price in navbar updates dynamically as we update the items in the cart. Fixes #249
Type of change
Please give a X on it which is applicable
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Added the items to cart, changed their quantities and verified that the price gets updated correctly.
Provide instructions so we can reproduce.
Screenshorts and Vedios:
Checklist:
give a X on it which is applicable