docs: Update Sendgrid Plugin Documentation (#5284)
* Update sendgrid.mdx * Update www/apps/docs/content/plugins/notifications/sendgrid.mdx Co-authored-by: Shahed Nasser <shahednasser@gmail.com> --------- Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
@@ -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.
|
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
|
## Test it Out
|
||||||
|
|||||||
Reference in New Issue
Block a user