Need help with writing php code for my sample collge project (shoping site) , back end work

Job ID: 33556840

Budget: $10 – $50 USD

I have handled almost all the HTML +css for the site, I already have coded the design and it's up and running,
what I need is someone to write me the PHP code for those tasks below:
(back-end work only).

- * for the user registration page I need the PHP code to connect to the database and be fully working
(the database was already made using myphpadmin) , you can even create your own database if you prefer.
**no form of validation whatsoever required just the most basic working PHP to make it function
*** no need for password encryption or any encryption at all.

** sign in page

pre-existed users in the database should use either their e-mail or username to login in with the corresponding password they chose to set in the sign up page .

notes
-user should be logged in on every page ( you use session for this ).

-when the user successfully login in the header "sign in" button must change to a "sign out" button which terminates the session.

- a small text that welcomes the username and output its username in the header for example someone with the username 'Ahmad' :Enjoy shopping with us , Ahmad.

*- Display Products
Products details must be retrieved from the database. All the shop products must be displayed by an image of each product on the products page. (I have like 6 products in total (clothing pieces) )

Display selected product details on the product details page. Allow the customer to input the required quantity in an input box and add the items to the shopping cart by**clicking add to the shopping cart button.
------

-* add to cart

The customer entered quantity will be checked against the product available stock. If the required quantity is available, the customer order will be added to the shopping cart. Otherwise, the appropriate message indicating unavailable required quantity will be displayed.**
The total for each item is also displayed (unit price* quantity). using PHP sessions.

-*Customer can check out by clicking checkout button in the product detail page or checkout (can be a shopping cart image) available on every page of the web application. Customer orders will then be displayed in the checkout page. The customer will be allowed to delete, modify quantity of any order or delete all orders (empty shopping cart). The customer can also buy all products in the shopping cart.

for the cookies - returning customers will see their past purchases. in the main page.

*-Authenticate Managers
Managers will be authenticated in the Administrator authentication page. Managers will enter their id and password in input boxes their input will be compared with the managers accounts in the database. If a match is found they will be granted authority otherwise, an appropriate message will be displayed.

*- Add New Product Authenticated managers can add new products. For every product, relevant fields must be entered (differ for each group). The database will be updated by clicking the add button.

*-Search for a product to modify or delete. Authenticated managers can search for a product to modify or delete. The database will be updated by clicking the modify or delete button.

I'll happily be available on discord/zoom to disuses any further informations or requirements you may need .
Related categories: PHP CSS HTML phpMyAdmin Core PHP