I use Magento 2.3.5 and install the module M2 Free Shipping Bar via composer.

When I config the Free Shipping Threshold, I see that it should allow {leftValue} {thresholdValue} or {cartSubtotal} but I see only {0} in all areas. Please find the attachment below: 

Is there any hotfix?


This is Magento core error which happens when installing the module via composer so that the variable is converted in comment. Note that this error doesn't appear when installing via vendor (app/code).

To fix this error, you could edit the file as the screenshot below: 


Or download the attached file below and overwrite the current file on your site.

If you need further assistance, please don't hesitate to contact us.