MAGENTO 1.X – GET IMAGES URLS AND LABELS FROM PRODUCTS
If you need to get the url or labels of the images assigned on the products, you can perform the following:
MAGENTO 2.X – IMPORT / EXPORT PRODUCTS
If you need to import or export some kind of entity data in Magento 2, the standard tool is pretty useful. In this case we are going to im..
MAGENTO 2.X – CREATE A BACKEND ADMIN USER FROM CLI
If you need to create a new backend admin user, the following command will help you.
- Open a new terminal window, and go to your proje..
UPDATE, INSTALL, AND SWITCH BETWEEN DIFFERENT PHP VERSIONS
If you want to update your PHP version, or just get a different one, you can proceed with the corresponding PHP steps in the following lin..
Magento 1.x – OVERRIDE MAGENTO CONTROLLER
Sometimes we may need to override a method or add functionality in a controller of Magento.
We are going to assume that you already hav..
INSTALL GRAILS FROM SCRATCH IN UBUNTU 14.04 LTS
Grails is an open-source web development framework, based on the Groovy programming language (which runs on the Java platform), so, to beg..
MAGENTO 1.X – REDIRECT TO URL IN FRONTEND
Sometimes you will need to create a validation once you are entering through an url, and then redirect the user to another site/section.
..
MAGENTO 1.X – ASSIGN RELATED PRODUCTS PROGRAMMATICALLY
The following standalone script will help you to assign related products according to some filters.
We assumed that you know how to wor..
MAGENTO 1.X – REMOVE ITEMS FROM A COLLECTION WHEN ITERATING
Sometimes you may need to remove items from a collection (eg: products) after it was loaded, or when you are iterating it.
The followin..
MAGENTO 1.X – MAGENTO FLASH MESSAGES
Some times, you will need to notice in your custom extensions (frontend or backend), any kind of succeed, or an error. To do so, let’s use..