In PrestaShop, a cart is marked as abandoned when a customer adds products to their cart but does not complete the checkout process. The cart is considered abandoned when the customer leaves the website or closes their browser without completing the purchase.
The time it takes for the cart to be marked as abandoned depends on the configuration settings in PrestaShop. By default, PrestaShop will mark a cart as abandoned after 15 minutes of inactivity, but this can be adjusted in the configuration settings.
If you are having difficulty creating an abandoned cart for testing purposes, you can try adding products to your cart and then leaving the website or closing your browser without completing the purchase. Wait for the amount of time specified in your PrestaShop configuration settings and check if the cart has been marked as abandoned.
It is also important to note that in order for a cart to be marked as abandoned, the customer must have entered their email address at some point during the checkout process. If the customer did not enter their email address, the cart cannot be marked as abandoned.
I apologize for any confusion earlier. In Prestashop, the default time for a cart to be marked as abandoned is 24 hours. Unfortunately, it is not possible to change this setting within the Prestashop settings. However, you may be able to modify this setting through code customization or by using a third-party module. I recommend consulting with a Prestashop developer or community forum for more specific guidance on how to modify this setting.