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:
  • STORE_HOST=nextjs-store
  • STORE_PORT=3343
  • STOREWEB_HOST=nextjs-store (or the external hostname)
  • STOREWEB_PORT=nextjs-store (or the external port)

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.

Note: For emails to be sent, you must configure the email transport method in Management Center and ensure that the status is active. For more information, refer to the following links: