I don't know why but i get an error js on checkout. When I'm on the payment step, The shipping address Below the choice of method of payment is absent. The problem come from an error with Knockout. Nevertheless i refresh cache, deploy static files, delete folder pub/static but I still have the problem

I inspected with firebug and find this error there :

TypeError : $parent.getCode is not a function

I searched the forum but found nothing

Here is the capture of the step of payment and firebug :

enter image description here

enter image description here

Would anyone have an idea? Thanks for your help

  • The shipping address works with a different theme loaded? – brentwpeterson May 2 '17 at 12:51
  • yes with the theme Luma, the adress is loaded!!It's very strange – strauss May 2 '17 at 13:01
  • Have you tried enabling a free shipping method? – brentwpeterson May 2 '17 at 13:05
  • yes, i create a custom module for free shipping! – strauss May 2 '17 at 13:07
  • but did you try it WITHOUT your custom module? (Using a built in shipping method that you confirmed is working) – brentwpeterson May 2 '17 at 13:10

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.