Open Ayonijakaushik19 opened 2 years ago
Sure @vchsi Don't go for database, products are already there in js file
Does each account have different cart items or do they all have the same cart items?
If they are different, I think a database will be needed to store all the cart items.
For now keep same cart items
Hey @vchsi What is the status?
@Jagannath8 I am currently Implementing the JavaScript functionality. I finished designing the page.
Okay @vchsi Do it soon. I guess 7Aug is the last day for merging PRs
@Jagannath8 Here is what I have for the cart page so far. Should it have more style or is this good?
With placeholder product and price
@vchsi Looks good, just add total cart items Ex - when products from other category are purchased cart items count should also increase
@Jagannath8 In which file is the current cart items stored?
@vchsi In product.html
@Jagannath8 No, I mean if the products in cart don't save on reload or page change, how would they be transferred over to the cart page . I think they should be stored in a cookie as each person can have their own cart and the cart items will save even after reload.
Submitted PR
Hi @Jagannath8, Because I did not get assigned to the other issue, I decided that I wanted to give a shot at this issue so can I get assigned to it?
Edit; Also, is the cart retrieved from the database?