OneStepCheckout.com Fix
Just thought i would share with the community. Hopefully WeltPixel and take this into consideration for a future release.
I purchased the extension for Magento 2 from "OneStepCheckout.com" and quickly noticed it was not working once installed. It would be nice to have native support going forward, and I discussed the solution with the developer. Apparently weltpixel fails to add its blocks to layout and fails whenever \Magento\Framework\View\Result\Page is injected to constructor DI by any class included in request .
OneStepCheckout uses this to get the default layout handler . Not sure why exactly but to solve the issues they made a workaround:
* edited
/vendor/onestepcheckout/iosc/Block/Frontend/LayoutProcessors/LayoutProcessor.php on the site and replaced the \Magento\Framework\View\Result\Page with \Magento\Framework\App\View instead to get the default layout handler this file needs
* then they edited
/vendor/onestepcheckout/iosc/view/frontend/layout/checkout_onestepcheckout_iosc.xml and set the layout type to 1column to add headers and footers to your checkout page
Thanks,
-Joseph
Please sign in to leave a comment.
Comments
0 comments