0

Magento by default shows base currency total on payment & review page on checkout, as given below.

enter image description here

How to add this base currency value on the Shipping page? enter image description here

I have done below copy paste work but it is not working:

Copied this code:

<!-- ko if: isBaseGrandTotalDisplayNeeded() && isDisplayed() -->
<tr class="totals charge" style="border-top: 1px solid;">
    <th class="mark" data-bind="i18n: basicCurrencyMessage" scope="row" style="font-weight: bold;color: #A82682;"></th>
    <td class="amount">
        <span class="price" data-bind="text: getBaseValue(), attr: {'data-th': basicCurrencyMessage}" style="font-weight: bold;color: #A82682;"></span>
    </td>
</tr>
<!-- /ko -->

from: /vendor/magento/module-tax/view/frontend/web/template/checkout/summary/grand-total.html

and pasted to this file: vendor/magento/module-checkout/view/frontend/web/template/estimation.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.