Hello, I am trying to modify abandoned cart recovery URLs based on customer’s billing country.
I am using metorik_recover_cart_url
filter, which returns the URL in following format:
https://mysite.com/wp-json/metorik/v1/recover-cart?token=[token_hash]&coupon=&mtke=6&utm_source=metorik&utm_medium=email&utm_campaign=engage-abandoned-cart-1
If I add additional language parameter to this URL (e.g. &lang=en
) it works well, it redirects the customer to desired language mutation. However, this filter doesn’t seem to have any effect on the abandoned cart recovery e-mail buttons, whatsoever.
Is there any other filter, or any other more correct approach? Thank you.