jamieg045 / PPIT

0 stars 0 forks source link

Create Page to add Products #9

Closed jamieg045 closed 5 months ago

jamieg045 commented 7 months ago

These pages will allow the user to add products from their menu and display for a customer to use. This functionality will be built upon user authentication and hierarchy in terms of managers/employees and customers being allowed to access as time goes on for both food and beverages.

jamieg045 commented 7 months ago

Created a page for the food products, was able to connect it to the MYSQL backend and output the data from the user onto the products page. More work to be done in terms of developing another page for beverages, I had imagined combining them into one page but with the way I have the database structured at the moment, it is logical to keep them separate for the time being unless the functionality changes in the future. More research needed on making sure only manager users are able to access these pages and employees with privileges but more on that later.

jamieg045 commented 6 months ago

Added a button onto each individual item to add to a cart. As of now, it's unfinished functionality but the connectivity across pages is there, the logic of getting the data from the menu into a shopping cart is the next step.

jamieg045 commented 6 months ago

Nothing major committed to the Products component today. Started using Ionic Logo's as I feel they have a good look to them especially in mobile platforms. Added a starter cart logo, will change over time across iterations but for now it has no hidden functionality, but I hope I will be able to embed the cart functionality within the logo itself over time.

jamieg045 commented 6 months ago

Removed Ionic Logo for now, research will need to be developed in order to see how to implement Cart logo to display the cart. for now it is contained within the menu component. No issues asides.

jamieg045 commented 5 months ago

Since last update, I have added new drinks menu to add drinks products from the MYSQL database. The menu can add to a cart which is embedded within the menu and a customer can then proceed to checkout.