Last active
January 23, 2018 10:11
-
-
Save ThomasLarge/1039e5b129bad644aaf7ca811f9c7dba to your computer and use it in GitHub Desktop.
Magento 2 helpers
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
You have to just rename your theme module directory like Magento_CatalogWidget. | |
New file path for your theme: mytheme/Magento_CatalogWidget/templates/product/widget/content/grid.phtml | |
When core module name with - you have to remove that and make the next character Uppercase. | |
Eg.: if you want to override core module module-catalog-inventory then your path would be Magento_CatalogInventory. | |
# Get media url | |
{{skin url="path/to/file.jpg" _area="frontend"}} | |
{{media url='path/to/file.jpg'}} |
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
# How to run commands to push front end files to live |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment