Auto-apply not working with latest version of WordPress 5.8.1
-
Hello,
auto-apply of coupons was working fine with WP 5.7.2
since I updated WP to 5.8.1 the coupon no more auto-apply 🙁
I have to enter the code manually
Any idea?
-
Hi Thomas,
Thank you for notifying me of this issue. I was able to test the auto apply feature on several sites with WC 5.8.1. I have not yet been able to reproduce an issue.One thing to note is that is a auto applied coupon that has been manually removed from the cart will not be auto applied again. To test to see if this is the case you are seeing, apply another coupon manually and then remove it. Auto Coupons will attempt to auto-apply a previously removed coupon only after another coupon has been applied and removed.
thanks for your answer… unfortunatly I tried to create a new coupon that has not been removed or manually applied… the result is the same: it doesn’t show-up in the cart
is this issue caused by my config ?
it’d be strange because I have the same site locally with WP 5.7 and online with WP 5.8…Hi Thomas,
Can you try this… Visit the cart as an admin and append ?troubleshoot to the URL. It will give you a print out of each coupon eligibility. Let me know if that provides any insight.yes !
with ?troubleshoot in the URL the coupon apply
and I have the notification:Test2 – Auto-Applied successfully
Remise2ateliers – No qualifying cart items.Hello, I’m sorry but I tried again on different sites and I can’t get the plugin to work anymore… 🙁
Have you tested with the latest Woocommerce updateHi Thomas, yes this has been tested with WC 5.8.
Can you provide me with your theme and any other relevant information so I can try to replicate the error on my end?
I can provide you an admin access to the preprod version of the site
Maybe I can email you the details?Hi Thomas,
WordPress rules won’t allow me to accept creds to troubleshoot. But I can try to reproduce the error in my own environment if I know the theme and versions you are using. You can also link to screen captures of the coupon setttings, and the ?troubleshoot result in cart. snipboard.io might be helpful for image link sharing.It’s a theme I made from scratch
Strange thing is, I just build a miror site on another server and the plugin works just fine :/on the website where it’s not working, as soon as I enter ?troubleshoot in the URL then the coupon appears… but not when I add an item to the cart
Hi Thomas, that could indicate caching. Do you know if there’s a caching plugin installed? If so, you might be able to exclude /cart and /checkout.
Another way to be sure is by adding any random parameters to the cart url like ?test=123.yes I use WP Rocket but I deactivated it… and cleared the cache. With /cart/?test=123 it’s the same
I made some screenshots, I will post themhere they are, forgive my french 🙂
https://snipboard.io/Kuo3G8.jpg
https://snipboard.io/FfbTt7.jpg
https://snipboard.io/25xlje.jpg
https://snipboard.io/gfrAJx.jpg
and with ?troubleshoot :
https://snipboard.io/r2l3p0.jpgHi Thomas,
Thanks, I’ve verified that it’s working on my test sites but not on yours. Can you tell me if the mirror site you tested is using the same parent theme and plugins? It might be a parent theme issue.As I said, it’s a clone of the live site… So same settings, same theme (not a child theme)
I’m trying to reinstall the website from scratch and see if it’s better
The topic ‘Auto-apply not working with latest version of WordPress 5.8.1’ is closed to new replies.