Hi @ogn095
Thank you for reaching out!
The latest version that we have released included improved and stronger bot detection layer to prevent collecting carts left by bots. This could be the cause for what you are experiencing.
I have just left two anonymous shopping carts on your store. Could you please confirm that you do not have them in your abandoned cart list?
Are you by any chance using Fluid Checkout for WooCommerce plugin?
-
This reply was modified 8 months, 4 weeks ago by
Nauriskolats.
Thread Starter
ogn095
(@ogn095)
I confirm that the two abandoned carts are not present in my list.
Thank you.
Are you by any chance using Fluid Checkout for WooCommerce plugin?
Thread Starter
ogn095
(@ogn095)
No, we don’t use the Fluid Checkout extension for WooCommerce
-
This reply was modified 8 months, 4 weeks ago by
ogn095.
So the issue is that we do not see cartbounty-public.js file on your store which is necessary for the anonymous carts to be saved. It could be that some plugin is removing this file from your store.
To debug this, it would be great if you would have a staging website where you could briefly disable all plugins except WooCommerce and CartBounty. After that try adding a product to the shopping cart to see if the anonymous cart has been saved.
If it will be captured, it means that there is a plugin that is affecting CartBounty and then we could try enabling a plugin by plugin until we find the one that affects anonymous cart saving.
Thread Starter
ogn095
(@ogn095)
I just checked the FTP server, and the cartbounty-public.js file is indeed there.
I also opened a private tab and I see that this file is also cached (probably by WP Rocket).
https://ibb.co/4nxgckc5
We do not have a test website and the practice of disabling all plugins is not feasible on a running store :/
I understand, thank you for providing additional details.
Maybe then try disabling the cache plugin that you are using and try to leave anonymous cart after that and see if that helps?
Thread Starter
ogn095
(@ogn095)
I tried disabling wp-rocket, but it didn’t change anything.
I decided to try downgrading the version (to 8.5.1), and the problem is fixed. I can now see abandoned carts.
The problem is definitely in the latest version, but where? Good question.
You could also add this to your active theme’s functions.php file:
add_filter( 'cartbounty_disable_input_bot_test', '__return_true' );
This will disable additional bot layer detection that has been added in the latest versions, but anonymous carts will be saved as before.
Another option to try is going to the WP Rocket settings, opening the File Optimization section, and excluding CartBounty JavaScript files from being optimized or modified by adding the following line to the JS file exclusion list:
/wp-content/plugins/woo-save-abandoned-carts/(.*).js