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 moremagento
Magento 2 : How to diagnose errors
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 moreHow to install Slider Revolution Magento 2 extension
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 moreMagento 1.x: How to enable template path hints
To enable template path hints in Magento: Login to the magento back-end Go to System > Configuration Go to Developer section on the bottom left under ADVANCED Switch to the store view on the top left to your current website or store view. Open Debug and set “Template Path Hints” = Yes. Optionally you can […]
read moreMagento 2: How to uninstall module
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…
Magento 2: How to add Google Font
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 <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 […]
read moreMagento 2 : When exactly to use php bin/magento setup:upgrade
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 […]
read moreError Reporting In Magento 2
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 […]
read moreSlider Revolution: How to insert HTML slider in Magento 2
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 moreMagento Slider Revolution Add-Ons
Magento Slider Revolution Add-Ons was introduced in version 5.2.4 of Slider Revolution Magento Extension. This brings in unlimited abilities of adding new features and effects for your sliders and editor. Let’s see two of them available for Magento version already. Magento Slider Revolution Add-Ons – Whiteboard Whiteboard Magento Slider Revolution Add-On gives you […]
read more