Wednesday, April 27, 2022

[FIXED] How can we customize the default warnings in Spartacus?

Issue

When an unauthorized user in Spartacus wants to log in and open PLP, the following default warning is displayed automatically.

This error is in default: .../spartacus-develop/projects/assets/src/translations/en/common.ts

How can I customize this field in this file? When this happens, I want him to write another text.

Thank you very much in advance.

enter image description here

enter image description here


Solution

I think this section in the Spartacus Documentation should help you: Overwriting Individual Translations



Answered By - Armin
Answer Checked By - Robin (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.