Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Is there a way to trigger an email for the order in certain language?
I have only found `orderInvoiceSend`, but it feels like it is not what I am looking for.
I have also tried to do this, but it seems that Admin API is buggy.
This is Amelia from PageFly - a Landing Page Builder App
You can trigger an email for an order in a specific language using Shopify's capabilities,
You can try a few approaches you can consider:
Shopify Flow allows you to create automated workflows based on specific conditions. You can set up a flow to send emails based on the customer's language preference. Here's a basic outline:
Create a new flow: Go to Shopify Flow and click "Create flow".
Add a trigger: Choose "Order created" as the trigger.
Add a condition: Add a condition to check the customer's language preference.
Set up actions: Add actions to send different email templates based on the language condition.
If you need more control, you can create a custom app that uses the Shopify Admin API to send emails in different languages. Here's a basic approach:
Fetch Order Details: Use the Admin API to fetch order details, including the customer's language preference.
Send Email: Use a third-party email service (like SendGrid or Mailchimp) to send the email in the appropriate language.
There are third-party apps available on the Shopify App Store that can help you manage multilingual email notifications. Some popular options include:
Klaviyo: Allows you to create segmented email campaigns based on customer data, including language preferences.
Langify: Helps you manage multilingual content on your store, including email notifications.
If you prefer a more manual approach, you can customize your email templates to include language-specific content. This involves:
Creating Multiple Templates: Create different email templates for each language.
Conditional Logic: Use conditional logic in your templates to display the appropriate content based on the customer's language.
I hope that my solution works for you.
Best regards,
Amelia | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.