Get Started
FunnelKit Documentation
Get unstuck with our helpful reference material

FunnelKit Automations

Request reviews in the Customer’s Preferred Language on a Multi-Language Site (Using Order Review Merge Tag)

Want to collect reviews after a successful order completion on a multi-language site?

To display the review collection section in the email, use the merge tag {{order_review}}. This displays all the products with a CTA “Leave A Review” button.

default review collection merge tag preview

If you’re running a multi-language site and want to show the "Leave a Review" message in the language of the store where the order was placed, follow these steps in FunnelKit Automations' emails:

🔔 Note: In this process, we will add a code snippet to your store that detects the order's language slug and displays the corresponding review text. This works with all popular multilingual plugins like Polylang, WPML, TranslatePress, and Weglot.

Step 1: Add Code Snippet To Your Store 

First, Install and activate WPCode.  Then, navigate to Code Snippets ⇒ + Add Snippet and hit the option “Add Your Custom Code (New Snippet)”.

hit add your custom code

Next,  provide a name, choose type as Php, and add the code to a custom code snippet

Here is the GitHub code link

add custom code snippet

Step 2: Configure the custom code for your store

In this custom code, you can set the review CTA text for each language. 

First, get the language shortcode for each store. 
🔔 Note: The location of the shortcode may vary depending on the plugin you used to create a multilingual store.

cop shortcode for languages

In the code snippet, locate the switch function. Here, you can define text for as many languages as needed.

For each language, specify the corresponding shortcode within the case statement and set the target text as the first parameter in the return statement.

Repeat the same process for all store languages. 

add code for each language on the store

Next, set a default text. 

set default write a review text

Step 3: Activate the code snippet

Now activate it, and hit Save Snippet. 

activate the code snippet

Step 4: Test the process

To test the process, make sure you have your review collection automation set and activated. 

review collection email automaiton enabled

Next, place an order in a different language. The 'Write a Review' text should appear in the language of the store where the order was placed.

Here, we placed a test order on the French store. 

And here is the email we received:

ask review in customer language in fk

That’s it! You can effortlessly collect product reviews in the customer’s preferred language, creating a seamless and personalized experience.

chevron-down