Hardcoded Text in Commerce Order Importer Not Translatable

Issue

  • Allow hiding the non-required options from CSV template message.
  • We have this csv_template.csv file and sometimes we need to edit its content to remove non-used fields, like requestedDeliveryDate that is optional.
  • The issue is that we cannot hide the field from the message, as it is a hard-coded argument for the translation.
  • The requirement is to be able to hide the optional fields from that message.

Environment

  • Liferay DXP 2025.Q1+
  • Commerce

Resolution

  • You can set up the Language Override to ignore the initial text.
  • The hardcoded argument is represented by {0} in the language key, so as long as you change the original language value and do not include a {0} in the modified value, the hardcoded text ((sku, quantity, requestedDeliveryDate)) will not appear.

Additional information:

この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています