[Urgent] Need a method to add a filter based on language slug to fetch domain
-
Hi team,
This is Pratik from FunnelKit support.
We have a mutual customer who is using our FunnelKit Automation plugin to send abandoned cart emails. However, the gTranslate plugin is causing an issue with the abandoned cart link redirection.
Background: They have different domains configured such as,
German
https://example.de/When a cart is abandoned from any of the site, the FKA running on their main site https://example.de/ captures the cart, language data and trigger an email with the cart recovery link based on the language sends an email. When this link is clicked, the visitor who abandoned cart should be taken to the same site where they left off, but for some reason, they are always taken to their main site.
For example, if the visitor abandons from https://example.it, they receive an email with recovery link, once clicked they are taken to the https://example.de/ site which is incorrect.
We are trying to find a way to retrieve language-specific URLs for posts/pages.
For example, each language has a specific name and page slug, such as:
- [da] =>?example.dk
- [es] =>?example.es
- [it] =>?example.it
Based on this, how can we retrieve the checkout URL for different languages?
We looked through the gTranslate plugin but did not find any method which we can use to add a filter on the basis of language slug to fetch/replace?the domain name.
Let us know if you have any way to achieve this.
Thanks in advance.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.