• Resolved rajgorjaydeep

    (@rajgorjaydeep)


    Hi,

    We are using WPML on our website. We want to send an email of order confirmation in the language of the user created the order.

    We have three languages. 1) Swedish 2) English 3) German
    Default language is Swedish.

    Currently, we are setting it up for Swedish and English.

    I have created two automation each for one language to trigger the event, I have tried two things:
    1). Add conditions to the selected JS event – Yes, Track event data – checkout url – equals to – exact url
    2). If Else Type JS/Attribute JS Attribute wpml_language_code is en/sv.

    Both of them seems not working.

    Can you please guide me how we can set it up based on languages?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support alexisbienayme

    (@alexisbienayme)

    Hi,

    Thanks for your mail.

    First, ensure that the point of entry of your workflow is : “An event happens – order_completed”
    Thanks to your website, I could find your account. I could see that you added “Checkout” as event. You’ll need to replace it by order_completed.

    Then, you can use : “Add conditions to the selected JS event – Yes, Track event data – items – url – contains – ?lang=en (For the english version). All your products need to have it in their url. For example : https://www.alequi.com/ProductA/?lang=en

    I hope I could help you and remain at your disposal for any information.

    Best Regards,

    Alexis

Viewing 1 replies (of 1 total)
  • The topic ‘Trigger Automated Emails based on order language’ is closed to new replies.