I am trying to add custom text in beside shipping method section in Order Summary from Magento 2. But my data is not affecting.
For this, I have added custom text in root\vendor\magento\module-checkout\view\frontend\web\template\summary\shipping.html file. But it's not effecting.
<span class="title">Custom Text</span>
Could you please suggest me which file I need to extend to add custom text?
Best Answer
File path should be below
vendor/magento/module-tax/view/frontend/web/template/checkout/summary/shipping.html
fileAdd your custom
<span class="title">Custom Text</span>
text like below exampleRun below commands