Recover link goes to homepage
-
In Abandoned Cart > Settings > General > Recover link to, whether I select Checkout or Cart, it doesn’t work and the link goes to homepage. The link’s format is this: https://example.com/?wacv_recover=cart_link&valid=LQF8q5GAI2B01n-2L6XW2-k9r4WiiRP1mAuCQYci1g,,
I tested this with a guest user, no admin, so it should work. Can you test this yourself and see if it works or not, and fix it if it doesn’t?
As a temporary workaround solution, I edited the plugin’s file wp-content/plugins/woo-abandoned-cart-recovery/includes/email/send-email-cron.php.
version 1.0.3.7, line 378:
from
return site_url( '?wacv_recover=cart_link&valid=' ) . $url_encode;
to
return site_url( '/checkout/?wacv_recover=cart_link&valid=' ) . $url_encode;
If you can’t find the cause of the issue, could you give me a code snippet I could use for redirecting to the checkout page to avoid having to edit the plugin’s code after every update.
Thanks.
- The topic ‘Recover link goes to homepage’ is closed to new replies.