How to abandon a cart properly for testing
Usually, there are some doubts when testing the Recover Abandoned Cart plugin.
With this guide, you’ll know how to test the plugin properly.
Setting up the plugin for testing:
- First, check if the WordPress Cron Jobs are running on your site properly. IMPORTANT: Without the WordPress Cron Jobs running properly, the plugin cannot work.
- You can use only your admin user for the test. However, it’s preferable to have 2 users: an admin one and a customer one.
- For testing the cart abandonment, the best is to set the “Identify a cart as an "abandoned cart" after” option to 1 so you don’t have to wait so long:
- Also set the “Set CRON each” option to 1 minute for making the test quicker:
How to test with a registered user:
- Add some products to the cart.
- Now, stop navigating with that user on the frontend (you can simply close the browser tab).
- In the backend, wait at least 1 minute and refresh the “Carts” tab from the plugin settings. The cart should appear soon:
How to test with guest user:
- First, check if guest users are enabled on the plugin settings.
- Add some products to the cart.
- Go to the checkout page and enter the email in the billing details:
- Now, stop navigating with that user on the frontend (you can simply close the browser tab).
- In the backend, wait at least 1 minute and refresh the “Carts” tab from the plugin settings. The cart should appear soon.
Notes:
If the user who is abandoning the cart visits any frontend page (shop pages), the cart won’t be abandoned. Every time a shop page is refreshed, the possible abandoned cart will be updated. Only when the elapsed time from the last cart update is greater than the Cut-off time, the cart will be considered as abandoned.