Last active
August 7, 2019 14:54
-
-
Save amenk/b456c612372e6ee09e3b54aebf6f7def to your computer and use it in GitHub Desktop.
Magento 2 n98-magerun2 dev:console snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Startup: n98-magerun2 dev:console | |
// Dump a product's data by SKU | |
$sku = "thisIsTheSKU"; $di->get('Magento\Catalog\Model\ProductRepository')->get($sku)->debug(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment