Linked Questions
35 questions linked to/from How can I bootstrap Magento 2 in a test.php script?
1
vote
1answer
130 views
How can 'dirty playground' use for Order Shippment - Magento 2
I am using 'Dirty Playground' for external retrieve/update Magento products & order information. It's working fine.
Now, I am trying to update shipment from the same concept, but not able to ...
1
vote
1answer
127 views
How to input and return data from bootstrap Magento 2 test.php script?
I need to pull product data out of Magento 2 via an external PHP command line script.
I am using the example here: How can I bootstrap Magento 2 in a test.php script?
In the run method, I extract my ...
0
votes
1answer
49 views
Load Magento objectmanager via a class
Having a bit of an issue with this one, I managed to get a working interface to Magento by including the following code, which in turn includes the Magento 2 bootstrap.php
use Magento\Framework\App\...
1
vote
1answer
37 views
Type Error occurred when creating object, attempting to use custom model from custom module
Yes I know, another "Type Error occurred when creating object" post...
In addition, I'm probably going about this in a way that will make the seasoned M2 dev need a moment before reading ...
0
votes
0answers
18 views
How to update a cart after adding a product to the cart using an observer?
How to update a cart after adding a product to the cart using an observer ?