Skip to content

shipping

Auto Added by WPeMatico

Magento 2 override shipping file giving error of Invalid template file

We are using Magento 2.3.5 version when we are trying to override file of vendor/magento/module-checkout/view/frontend/templates/cart/shipping.phtml to app/design/frontend/Infortis/base/Magento_Checkout/templates/cart/shipping.phtml It showing error on browser console – VM2090:4 [2023-11-27 11:58:20] [ERROR] Failed to load the “Magento_Checkout/js/view/cart/totals” component. ConsoleOutputHandler.show @ VM2090:4 VM2090:4 [2023-11-27 11:58:20]… Read More »Magento 2 override shipping file giving error of Invalid template file

Error: Cannot instantiate interface MagentoReCaptchaWebapiApiApiWebapiValidationConfigProviderInterface

I have just upgraded my magento version from 2.4.0 to 2.4.6 and i am getting this issue on checkout shipping page and shiiping methods are not displaying. Error: Cannot instantiate interface MagentoReCaptchaWebapiApiApiWebapiValidationConfigProviderInterface in /home/websites/bollywoo/devbwuat.wddemo.net/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 Stack trace: #0 /home/websites/hollywoo/dev/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create() #1… Read More »Error: Cannot instantiate interface MagentoReCaptchaWebapiApiApiWebapiValidationConfigProviderInterface

Magento 2: Create order programmatically using carrier containing underscore (PostNL)

I am unable to create an order programmatically with the carrier PostNL. The carrier code is “tig_postnl” and the method “regular”. Normally I set the shipping address simply using: $shippingAddress = $quote->getShippingAddress(); $shippingAddress->setCollectShippingRates(true) ->collectShippingRates() ->setShippingMethod(‘freeshipping_freeshipping’); (for full code please see… Read More »Magento 2: Create order programmatically using carrier containing underscore (PostNL)