Home / Tag Archives: Magento 2

Tag Archives: Magento 2

PHP 7 and Magento2 a quick overview

There is “this language” which runs more than 50% of the Internet. Some say over 80, and who knows what is the most accurate data anyway. Given the fact that the language we’re talking about runs WordPress, Drupal, Magento and alike, it’s not hard to believe there’s a major hype …

Read More »

How to create custom widget in Magento 2

We learned how to create a widget. Now we will see how we can create a custom one, or even better, how to extend the core one. For this example I picked default catalog product listing widget that I will extend with sorting fields for better customization of this widget. …

Read More »

How to Wrap WYSIWYG content using custom HTMLin Magento 2

This article will show you how to set up custom HTML wrapping element around “content” reference (but can be applied to any other reference in any other module). Let’s get started. First of all, you need to set up the following folder structure: app/design/frontend/your_namespace/your_theme/Magento_Cms/layout Inside the layout folder, 3 XML …

Read More »

how to Wrap WYSIWYG content using custom HTMLin Magento 2

This article will show you how to set up custom HTML wrapping element around “content” reference (but can be applied to any other reference in any other module). Let’s get started. First of all, you need to set up the following folder structure: app/design/frontend/your_namespace/your_theme/Magento_Cms/layout Inside the layout folder, 3 XML …

Read More »

how to Add category attribute programmatically in Magento 2

Despite the good amount of attributes offered in Magento by default, there is often a need to add some new ones to the system for a particular EAV entity. Today I’m going to show you how to programmatically add a new category attribute. In order to do any of the following steps you …

Read More »

How to overriding classes in Magento 2

Compared to its previous version, Magento 2 came out with a new concept of dependency injection where classes inject dependencies (different objects) for an object instead of that object manually creating them internally. That way overriding and manipulating with classes is much easier and allows us more ways of extending …

Read More »

How to Correct An Error of the Fotorama Module in Magento 21

As you know, Magento 2 has a defect, which is present at 2.1.2. as well as in the previous versions. This is a problem related to vertical rolling of the product image on the product’s details page. This is the mobile devices module — Fotorama. When we try to scroll …

Read More »

Please follow the following these steps to Create and Upgrade Database in Magento 2

Please follow the following these steps to Create and Upgrade Database in Magento 2: Install Schema Install Data Upgrade Schema Upgrade Data Magento 2 provides some classes in the directory app/code/[Namespace]/[ModuleName]/ Setup to create or upgrade database. InstallSchema – setup database structure InstallData – initial the data for database table. …

Read More »

Magento 2 Architecture Diagram

Magento 2 is the latest CMS (MVC)  Platform of the leading enterprise-class eCommerce platform, utilised by over 200,000 online retailers. In fact, it’s estimated that 1 in 4 businesses are using the Magento software.It’s easy to see why.     What is Magento? Magento is a highly customizable e-commerce platform and …

Read More »

how to hack magento ecommerce website?

Find Hosted website FTP Details and Hosting Account Details Find Website Admin Details Find Credit Card Information

Read More »

Create swtch color on product list page in Magento

Copy and past the code . where you want to display color  below the name or above the name. follow the following steps: images updated in configurable simple product  acording to color . Change Visibility *: catalog search  List.phtml <? if($_product->getTypeId() == "configurable"): $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product); $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions(); foreach($simple_collection …

Read More »

Magento 2 get custom category attribute

public function getCategoryCollection() { $collection = $this->_categoryCollection->create() ->addAttributeToSelect('*') ->addAttributeToFilter('is_home_category', '1'); return $collection; }

Read More »

Magento: How to check if current page is homepage?

1.) // Put your homepage-only code in here. 2.) if($this->getIsHomePage()) { echo 'You are in Homepage!'; } else { echo 'You are NOT in Homepage!'; } 3.) $routeName = Mage::app()->getRequest()->getRouteName(); $identifier = Mage::getSingleton('cms/page')->getIdentifier(); if($routeName == 'cms' && $identifier == 'home') { echo 'You are in Homepage!'; } else { echo …

Read More »

COMPARE MAGENTO 1 VS MAGENTO 2 TECHNOLOGY

Read More »

Magento 2 Overview – Features, Reviews, Tutorials and Demo

Magento leading online business solution exists for 5 years. It has been downloaded over 5 million times, and now Magento 2.0 is on the way, so get ready for the New Year present..

Read More »
4

April 30, 2017

Clear all