1

If I change the shipping method title from the CMS (and clear the cache and storage), from "Table Rate" to "Testing" for example, and change

$shippingAddress->setCollectShippingRates(true) ->collectShippingRates() ->setShippingMethod('tablerate_bestway') ;

to

$shippingAddress->setCollectShippingRates(true) ->collectShippingRates() ->setShippingMethod('testing_bestway') ;

Then the shipping sum always returns 0. The same happens if I change Best Way instead of Table Rate. Why is this happening? And how can I resolve this issue?

  • If you just need to change the title, do it from admin. Don't modify method in code. They are unique to every shipping method and changing them would need changing their appearance throughout the carrier. – Prateek Oct 9 '15 at 14:22
  • I changed it in the admin. But don't I need to change the code to match what I changed in the admin? – Pat Oct 9 '15 at 14:24
  • No, that's why it's their in admin. – Prateek Oct 9 '15 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.