From b6bea74914d83647f4caa84256bb9934f5f7a052 Mon Sep 17 00:00:00 2001 From: Anna Albirena Date: Thu, 5 Oct 2023 02:26:30 -0500 Subject: [PATCH] docs: Update Sendgrid Plugin Documentation (#5284) * Update sendgrid.mdx * Update www/apps/docs/content/plugins/notifications/sendgrid.mdx Co-authored-by: Shahed Nasser --------- Co-authored-by: Shahed Nasser --- www/apps/docs/content/plugins/notifications/sendgrid.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/apps/docs/content/plugins/notifications/sendgrid.mdx b/www/apps/docs/content/plugins/notifications/sendgrid.mdx index 4049333e5d..c85e816993 100644 --- a/www/apps/docs/content/plugins/notifications/sendgrid.mdx +++ b/www/apps/docs/content/plugins/notifications/sendgrid.mdx @@ -3955,6 +3955,8 @@ The `api_key` and `from` options are required. Then, use the key of each templat You can also optionally pass the option `localization` if you want to support different languages. `localization` accepts an object that has the country and language codes as keys. The value for each code should be an object of template keys and their IDs as values. Make sure to include the localized template IDs in `.env` as well. +It's important to note that the keys you add should also be present in the context field of the cart under the locale key `cart.context.locale`. This is crucial to ensure that the templates are used correctly based on the cart's localization. + --- ## Test it Out