I create an action that will return to checkout page when I called it. My code is,

echo $this->getLayout()->createBlock('opc/wrapper')->setTemplate('opc/wrapper.phtml')->toHtml();

But it shows an empty template of checkout without shipping method or payment method.

How can I fix it or improve my code?

  • Please elaborate further - Define empty shipping method or payment method. Very difficult from this snippet to understand the desired results. – elfling Jun 29 '18 at 8:42
  • pasteboard.co/Hs9Owsb.png @elfling – gh darvishani Jun 29 '18 at 16:05

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.