Describe the bug
The delete option in the cart to remove items from the cart is not working. Also, the " - " button to decrease the number of items in the cart is not working when the number of items in the cart is 1.
To Reproduce
Steps to reproduce the behavior:
- Go to 'cart'
- Click on 'delete option beside products'
- See error
Expected behavior
When the delete button beside the product is clicked, all the items must be removed from the cart. If the " - " button is pressed and the number of items is 1, the item should be deleted from the cart.
Screenshots
![Screenshot_20221001-222410_Groceries Store](https://user-images.githubusercontent.com/85061899/193420159-04cef1d1-dfbf-465c-bee9-a49d419719d8.jpg)
![Screenshot_20221001-221349_Groceries Store](https://user-images.githubusercontent.com/85061899/193420171-c1ae1d08-7e21-4ace-867b-cf68d97c03ac.jpg)
Desktop (please complete the following information):
-NA
Smartphone (please complete the following information):
Additional context
NA