This seems to work fine in ManageCart() and the shipping rate in the cart looks fine. However, when I go to checkout, CheckoutCart() shows what ever shipping rate is associated with the item, not the table in nopcart.js. The string showing in the command line
is corrrect, but it's not what's showing in the cart totals.
It's fixed. You need to add the revised code in nopcart.js TWICE. Once for the ManageCart() function and once further down for CheckoutCart().