Magento 2 : Load Model Data By Custom Field

Magento 2 Developement

Magento 2 developments involve strong usage of models concept. Usually magento models loaded by primary field. However, if you need to load it using non-primary unique field there are several methods to do it. To illustrate examples below lets assume that we have created tables sliders with primary index slider_id and unique index alias. Model, […]

read more

Cartown Magento Theme 1.4.1 release

NWDthemes: Company News

CarTown Premium Responsive Magento Theme has got a new update. Current version is 1.4.1 Version 1.4.1 updated: quick start package updated to 1.9.3.3 updated: all extensions updated to actual versions fixed: print order page fixed: print links fixed: form key validation on checkout Cartown now support 1.9.3.3 CE edition which address mainly security issues. It […]

read more

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

CodeCanyon Extended Support FAQ

NWDthemes: Company News

The Program In September of 2015, CodeCanyon (aka “Envato”, aka “ThemeForest”), launched a new program for support: http://marketblog.envato.com/releases/get-ready-for-the-new-item-support-policy-launching-september-1st/ and followed this up with an additional announcement here: http://marketblog.envato.com/releases/item-support-policy-and-functionality-launched/ and an official policy here: http://codecanyon.net/page/item_support_policy and also made a great video that helps to explain the program: What this means for customers who are part of […]

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