Tell me how can I remove the word "Discount" and parentheses from the label


2 Answers 2


Create a folder in your theme "i18n" and add en_US.csv , with the help of en_US.csv you can change "Discount" string to another string, it's one of the easiest method.

  • This is proper way than overiding the file
    – Asssd
    Commented Oct 14, 2021 at 13:19
  • It doesn`t work for me( Commented Oct 14, 2021 at 15:44
  • It`s work but need to change "Discount (%1)" Commented Oct 18, 2021 at 14:40

Override this file in your theme or module:


And paste this content. You might need to add some css to make it visible.

 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
<!-- ko if: isDisplayed() -->
<tr class="totals discount">
    <th class="mark" scope="row">
     <!-- add css display: block; if your theme extends from luma -->
        <span class="discount coupon" data-bind="text: getCouponCode()"></span>
    <td class="amount">
        <span class="price" data-bind="text: getValue(), attr: {'data-th': name}"></span>
<!-- /ko -->
  • This method remove all title I need to remove only "Discount " word Commented Oct 14, 2021 at 14:53
  • See the class span tag having class "discount coupon". This is set to display:none; You to need add css to make it display: block; You will get the desired result. Commented Oct 15, 2021 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.