Magento 2: How to add Google Font

Magento 2 Developement

You might already check Include static resources (JavaScript, CSS, fonts) article by magento team. They state that to add google font you need to update /Magento_Theme/layout/default_head_blocks.xml with

But as a result it is not working. Correct code is

It wont work without additional parameters. Google fonts used in our tutorial for Slider Revolution: […]

read more

Magento 2 : When exactly to use php bin/magento setup:upgrade

Magento 2 Developement

If you enabled one or more modules, then you will need to run magento setup:upgrade to update the database schema.

First line simply adds your module to the app/etc/config.php. Please note that your magento will crash until you run second command. Second line trigger setup scripts of all Magento modules that needs setup. Current […]

read more

Error Reporting In Magento 2

Magento 2 Developement

If you got similar message you might be curios how to enable error reporting in magento 2 instead of checking log file in /var/report folder.

By default Magento 2 run in “default” mode : Exceptions are not displayed to the user; instead, exceptions are written to log files. To enable error reporting in this […]

read more

Magento 2 Command-Line Interface (CLI) Commands List

Magento 2 Developement

Magento 2 comes with built-in powerful command-line interface tool. It allows you to perform wide variaty of tasks including installation, configuration, database backups, compiling LESS etc. If you missing a feature, you can extend it with your own commands set. You will find using magento 2 command-line interface (CLI) commands pretty handy. Tool location: /[magento_root]/bin/magento. […]

read more

Magento 2 Release Date

Magento 2 Developement

Magento 2 release date was announced in Imagine 2015. Magento Merchant GA should be released in Q4 of 2015. Here is the complete list of magento 2 roadmap milestones. Current available release is Magento 2 Merchant Beta. As it is stated on magento blog – this release is pretty close to Magento 2 GA. GA […]

read more