Use Next.js store for email templates and sitemap generator
By default, HCL Commerce is configured to use the JSP-based Commerce Remote Store as its remote store, which generates email template content and sitemap generation.
To switch to using the Next.js store as the remote store, the Transaction server container must be redeployed to point to the Next.js store.
This can be accomplished by configuring the following variables in the deployment
file:
Note: To enable forgot password email
functionality, the deployment file must include the following configuration
entries
STORE_HOST=nextjs-storeSTORE_PORT=3343STOREWEB_HOST=nextjs-store (or the external hostname)STOREWEB_PORT=3343 (or the external port)
Note: To enable forgot password email
functionality, the deployment file must include the following configuration
entries STORE_HOST=nextjs-store,
STORE_PORT=3343,
STOREWEB_HOST=nextjs-store (or the external hostname), and
STOREWEB_PORT=3343 (or the external port). The Next.js
configuration supports sending emails that are specified in the Message Type in
the Management Center tooling. This functionality is not available with a
remote store configuration alone.Once the Transaction server container is redeployed to point to the Next.js store, any requests for generating content from the remote store will be sent to the Next.js store.
The Transaction server can handle only one type of remote store at a
time.
Note: For emails to be sent, you must configure the
email transport method in the Management Center and ensure that the status
is active. For more information, refer to the following links: