I am basically designing a e-commerce website in which I have the function to add products to a cart.
My website is made used Flask.
Essentially I have a products page where each product is retrieved from a MySQL database and then displayed in the website.
I have a button to add an item to the Cart. I want to add the item to the cart which will then available to view on a separate page.
The cart needs to be persistent.
I have tried many solutions, including flask sessions but I am just failing with the implementation and would appreciate any help.
Please let me know any other information you needed
Please note i do not wish to use PHP
Aucun commentaire:
Enregistrer un commentaire