Magento is one of the biggest and most popular e-commerce platforms written in PHP. The very first Magento release, known as ‘Bento’, is dated to March 31, 2008. For that time the actual PHP version was 5.2. Nowadays we are...
Year: 2016
Setting up Magento in Nginx PHP-FPM server
http://www.shahalpk.name/post/108670428748/setting-up-magento-in-nginx-php-fpm-server
Magento form setting controller and block
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 <?php class Excellence_Form_Block_Adminhtml_Form_Edit extends Mage_Adminhtml_Block_Widget_Form_Container { public function __construct() { parent::__construct(); $this->_objectId =...
2016 Ecommerce Platforms Analysis and Comparative Report
2016 Ecommerce Platforms Analysis and Comparative Report 12 Feb, 20164 CommentsShare The market of ecommerce platforms is changing constantly since ecommerce itself develops steadily embracing new branches, areas and stores. Ecommerce Platforms Market Share Evolution Some platforms decline while other...
Layouts and forms on Magento 2 admin
http://www.maximehuran.fr/en/layouts-and-forms-on-magento-2-admin/ We have to create a layout before create the form : app/code/Maxime/Jobs/view/adminhtml/layout/jobs_department_edit.xml Put this little content : <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <update handle="editor"/> <body> <referenceContainer name="content"> <block class="MaximeJobsBlockAdminhtmlDepartmentEdit" name="jobs_department_edit"/> </referenceContainer> </body> </page> We define a block inside, so...
MAGENTO 2 HOW TO CREATE CUSTOM QUERY
Magento 2 How to create custom query that is the question sometime is popped up on your head. Here is how I create my own custom queries in Magento 2. Currently, I figured out two ways : 1/ Take advantage of using Magento...
Magento 2How to create the configuration via backend for a custom module
How to create the configuration via backend for a custom module Published at 21 Aug 2015 In this post, I will introduce you how to create the configurations via Magento 2 backend. We will continue using the Tutorial_SimpleNews module for...
Magento 2: CRUD Models for Database Access
Create Module ulsestorm_ToDoCrud module Generating Crud Files As previously mentioned, we’re going to create a model for a “To Do” item in our imaginary productivity application. We’ll want this model to have two main fields — the text of the...
Magento2 plug-ins
Limitations You cannot use plug-ins for: Final methods / classes Non-public methods Class methods (such as static methods) __construct Virtual types Declare a plug-in You declare a plugin for an object in the di.xml file for a module: <config> <type...
MAGENTO 2: HOW TO MAKE CUSTOMER ATTRIBUTE ?
MAGENTO 2: HOW TO MAKE CUSTOMER ATTRIBUTE ? Since Magento 2 is pretty close to release we can review how the adding of custom attribute process has been changed. Today we will make Magento 2 extension which adds customer...