For me working on Magento’s Checkout JsLayout is always a pain and I usually get stuck in it. Now having a strange issues, to describe,
on Cart page, Order summary section Magento is adding Shipping word as title along with my Carrier Title & Method title as screenshot below:
As shown above I have setup my Carrier Title as Shipping, and magento is adding another title as shipping for which rendered source code is highlighted. But strange part is that the file contains different source code, as screenshot below:
I found another file having similar html codes as below, and I commented that Span which was adding that Shipping word as title:
and after commenting I have cleared all caches, even removed all files using command:
rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ generated/
and deployed all static content and can see my changes reflecting in pub/static/frontend folder at designated path, have tried multiple browsers to avoid caches, but still it shows uncommented html and nothing is reflecting.
its adding braces before and after the “Carrier Title – Method Title” text, while its not defined anywhere like in html file or JS file, I have even tried to print output in JS file and dont see any braces in return value but it shows here, how can I remove those..?
Even without any JS error it doesn’t show radio button selected for selected shipping method, for which I already posted a question separately and awaiting response from experts here:
Magento 2.3 Cart Page Shipping Rate Method applied but dont show selected
This is little urgent for me, so any help would be appreciated. TIA