Hello everyone,
I’m a beginner and I’m doing a test project to learn how elements and workflows work.
In this project, there is a table in the CartItem database with some fields and another called order with a cart_items field of the cartitem list type and other fields. After creating this order with the list and the items in the workflow, the items are also created in the CatItem table. How do I delete the items from the CartItem table (clear the cart) so that when the page reloads the cart is cleared, but I would like the cart_items list to remain in the order table? Because how will anyone see or print the order without the items? When I perform an action to change something or delete something from the Cartitem table, the same items disappear from the order and that’s not what I want. I want to clear the Cartitem and the items remain in the order table. Is it possible to do this?