Text in Add to Cart Button are not being translated using site editor
ID: 1026103
Backlog
Published on 5/2/2024
•
Last update on 7/3/2024
Summary
When trying to translate a text using the site editor for the Add to Cart Button, the changes won't apply in the store front.
Simulation
- Open site editor
- Select Add to Cart Button
- Change the text label in the button to anything desired
- Save changes
- Visualize the page and the text will be the same no matter the locale selected
Workaround
Make sure iconLabel is empty in both the store code and site editor. If you are not sure if it's empty in the site editor, you can reset the content by going through the site editor version > reset.
Follow the documentation here and the contexts here to set the label as desired instead.