- Added clean:all (bin/magento c:a)
- Added link to the PDP on the Admin's product page
- Added files to ignore when clearing the cache
- Go to your Magento root folder and run the following command:
$ git clone git@github.com:spraxis/sid.git app/code/Sebas/Sid
- Enter your M2 info in the following file:
app/code/Sebas/Sid/Model/Sid.php
- Enable the Sid module:
$ bin/magento module:enable Sebas_Sid
$ bin/magento s:up
- You are good to go!
$ bin/magento sid modules:company
Same as:
$ bin/magento sid m:c
$ bin/magento sid clean:all
Same as:
$ bin/magento sid c:a
$ bin/magento sid clean:styles --t="ThemeName"
The themename is optional. If none is specified, the one set in Model.php will be used.
Same as:
$ bin/magento sid c:s
$ bin/magento sid clean:layouts
Same as:
$ bin/magento sid c:l
$ bin/magento sid clean:templates
Same as:
$ bin/magento sid c:t
$ bin/magento sid override:template --t="ThemeName" --t="vendor/..."
Same as:
$ bin/magento sid o:t --t="vendor/..."
Example:
$ bin/magento sid o:t --t="vendor/magento/module-catalog/view/base/templates/product/price/amount/default.phtml"
$ bin/magento sid module:downgrade --m="ModuleName"
Same as:
$ bin/magento sid m:d --m="ModuleName"
Example (for Sebas_MyLocation):
$ bin/magento sid m:d --m="MyLocation"
$ bin/magento sid hints:on --t="ThemeName"
The theme name is optional. If none is specified, the one set in Model.php will be used.
Same as:
$ bin/magento sid h:on
$ bin/magento sid hints:off --t="ThemeName"
The theme name is optional. If none is specified, the one set in Model.php will be used.
Same as:
$ bin/magento sid h:off