Current orden flow does not work correctly

Hello, I have this app from an e-commerce app. The problem is that when users start an order by clicking a button from the home page, the current order is not sent to the categories page even though it should do that.
The flow is: Home page, categories, products, pop up cantidad, add to card, pay for your order. In the categories page. here is a video showing my data base. Loom | Free Screen & Video Recording Software