TransWikia.com

Custom shipping method break cart page render

Magento Asked by Matheus Prado on December 12, 2021

I try to create a new custom shipping method, following the tutorial below: https://inchoo.net/magento-2/creating-a-shipping-method-in-magento-2/

In the administrative panel, it appears normally. I was already receiving this error on the cart page.

Exception #0 (ReflectionException): Class AlfasoftLuandaShippingModelCarrierLuandaShipping does not exist #0 /home/beatrizfranck/public_html/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Alfasoft\Luanda...')

So I ran bin/magento setup:di:compile and then the page re-rendered. But only with one sentence. Calculate delivery charges. I tried to view and create the di.xml file because I thought this could be the problem, but nothing I did solved the problem.

My shipping method need to be appear on this area:

enter image description here

And this area:

enter image description here

I’m using Magento 2.2.3 with Cogito theme and Ecomteck Store Pickup shipping method. Any ideias?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP