Skip to content

Jslayout in adminhtml area

I have custom menu item created in “Content” named AskQuestion. Apparently, there is controller and routing for it. All left to do is to make jslayout output some simple text. How do I do this?

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)