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
Magento 2 development could raise a lot of questions. And if you see blank screen you and don’t know how to diagnose error this article is definitely for you. Basically there are 3 variants of errors….read more
In this guide you will learn how to install Slider Revolution Magento 2 extension. For this operation we will need our extension package and shell access to server with your Magento 2 installation. First you need to upload extension files to the root of your Magento 2 e-commerce installation. Once uploaded you will see extension […]read more
You can install module in magento in two ways: via composer and manual installation. If you no longer need a certain extension you may wish to uninstall it.
If you installed it manually…
<link src="http://fonts.googleapis.com/css?family=Montserrat" src_type="url" />
But as a result it is not working. Correct code is
<link src="https://fonts.googleapis.com/css?family=Montserrat" src_type="url" rel="stylesheet" type="text/css" />
It wont work without additional parameters. Google fonts used in our tutorial for Slider Revolution: […]read more
If you enabled one or more modules, then you will need to run magento setup:upgrade to update the database schema.
php bin/magento module:enable Nwdthemes_Module
php bin/magento setup:upgrade
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
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.
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXX
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
Tutorial requirements: slider Revolution 5.x installed on magento 1.x. magento 2 installation This tutorial assumes that you have slider revolution for magento 1.x. You will need to export slider from that version in order to use it in magento 2. Do not upload magento 1.x extension to magento 2!. Login to magento 1.x admin and […]read more
Magento 2.0 magento setup:di:compile command errors and solutionsread more
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