HackYourFuture-CPH / fp-class18

Interior design webshop
MIT License
1 stars 0 forks source link

Fixed the current bug on unit price of cart page #286

Closed BikramRawat closed 2 years ago

BikramRawat commented 2 years ago

Description

Fixed the current bug of unit price on cart page. The unit price of an item was changing on changing the quantity of that item. But the unit price should be constant, it should not change on changing its quantity. So this PR fixes this bug.

Fixes

285

How to test?

using npm run dev and navigate to the cart page and change the quantity of any item, the unit price remains constant

Checklist

BikramRawat commented 2 years ago

This PR is merged and closed after the approvals from the reviewers 👍