Question
PHP code. So I am making a shopping and cart feature in my website, but my Product.php file isn't working. It doesn't even show up
PHP code. So I am making a shopping and cart feature in my website, but my Product.php file isn't working. It doesn't even show up with the customer logs in and goes to My Account because when the customer logs in it goes to their profile then they click on My Account to go to the Prodcut.php page where they can shop. But when I do that I get an error. As in the file can't load. When I did have it working the quantity of products starts with 1 when I would like for it to start with 0. When you click on add to cart, it doesn't show up in the cart it says "cart is empty". HELP!
MY CODE IS TOO LONG TO POST HERE, go to my GitHub repository to see the code. https://github.com/Razor2b/CSIS410BRINKLEY/tree/main/CMS
The files I need help with are my Products.php and cart.php.
If you know of a better way to do a shopping code, please share.
Someone helped me with this before that they explanations weren't clear because the like they were talking about didn't match my code.
Also, Chegg no longer allows us to leave comments on answers, so please don't ask.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started