I am looking for help to implement a series of functions in the padded.php file. Specifically, a button to delete the newly added product and a button to replace the added quantity of the product with the maximum quantity in stock. I already have a part done, the problem is that it doesn't delete the correct product.
Thanks in advance.
VM: 3.8