Magento 2.0

Meet F2 – A Next-Gen Magento 2 Theme for Fashion Stores

August 3, 2016 / Posted in Magento, Magento 2.0 by Nick Campbell
Meet F2 – A Next-Gen Magento 2 Theme for Fashion Stores
Download PDF

If you are about to launch a Magento 2 store, or going to update your existing store to the latest version, you will need a 100%-compatible theme, and that’s where things start getting problematic. The fact is that Magento 2 is relatively new, that’s why high-quality native themes for this platform are scarce.

But there is a multipurpose solution, which will satisfy even the most demanding store owners, at least in the fashion niche. Today we would like to introduce you to one of the pioneer Magento 2 themes – F2 designed by TemplateMonster.

Get to know the peculiarities of one of the first Magento 2.0 templates in our spotlight. (more…)

Using Virtual Types for Saving Custom Logs in Magento 2.0

June 20, 2016 / Posted in Magento, Magento 2.0 by Artsem Miklashevich
Using Virtual Types for Saving Custom Logs in Magento 2.0
Download PDF

When you are in the process of development, you may need to save your logs a separate file. This could be easily done in Magento 1: use static method Mage::log() with the required file name and text. However, you are no longer able to do the same in Magento 2 — it uses Monolog as the main logging tool which follows the logging standard of PSR-3 . Monolog doesn’t allow to set a new filepath where you want to log a message. Monolog saves log file path during handlers initialization and does not allow to modify filename later. However, it is possible to add one more handler to Monolog, for example, like this:

(more…)