2

Magento provide 2 way of override js file. map mixin Mixin is quite complicate and map is really easy to understand. For override js file first you have to create module. To create custom module you need following files in app/code/Company/Shipping/. I hope you created that. registration.php etc/module.xml then you have to create requirejs-config.js file ...


1

This worked for me. <tr data-bind="css: { 'className': element.isSelected() == (method.carrier_code + '_' + method.method_code)}"> element.isSelected() return a string like freeshipping_freeshipping.


Only top voted, non community-wiki answers of a minimum length are eligible