Home / Tag Archives: Magento 2 technology

Tag Archives: Magento 2 technology

How to create Admin Menu Item in Magento 2 by Code

When it comes to Magento customization, every now and then, there’s a need for a custom configuration option that needs to be placed somewhere in the administration menu. Magento 2 comes with well organized admin menu, but what if newly created configuration option doesn’t fit anywhere? In that case, a …

Read More »

The Clash in between Magento vs. WordPress

Selecting the most suitable e-commerce platform for developing, managing and maintaining an e-commerce website is critically important, as it can be the deciding factor responsible for either the success or failure of your business. Magento and WordPress have become a common topic of discussion when it comes to e-Commerce development. …

Read More »

Magento, where to start?

Hello fellow developers! You always wanted to learn Magento and get a job as a Junior Magento Developer? Read on. What is Magento? Magento is an eCommerce platform built on open source tehnology. It is used to create custom, scalable online shops to suit merchant needs. It is a very …

Read More »

How to add new search engine like Solr or Elasticsearch in Magento2

Magento 2 Community Edition comes with support for only MySQL search engine, but some projects require better or more adjustable search engine in order to increase sales or conversion rate. In this situation we are implementing Solr or Elasticsearch search engine. In this post we will create a skeleton code …

Read More »

How to keep your CMS blocks organized Form in Magento2

Head on over to Magento dashboard in your store and take a look at CMS blocks. How many CMS blocks have you got? Can you tell which of the blocks are being used on site and which are currently not active or can be safely removed? Can you pick a …

Read More »

Magento 2 UI components and listener

In this short and simple example we will explain how to create listener in Magento 2 UI component. We will explain it on built in Magento 2 UI component Columns which use component Magento_Ui/js/grid/listing (part of admin grid interface). This file listing.js represents knockoutjs viewmodel of our component “Columns“. Let’s …

Read More »

How To Call a Static Block On CMC Page in Magento2

Here are the steps that you will follow in this How To Call a Static Block On CMC Page: Login to admin page -> content -> pages, we will select and edit the cms “Home Page”. Go to the tab design and insert the command and save page Go to the …

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 optimize magento code?

How to optimize magento code The code influences the speed of your site. The testing tool helps to gain insight into the specific process for Optimize magento code . Optimize magento code contains following points: Removal of unused or unnecessary code processes. To optimize Magento performance, JavaScript and CSS files …

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 »

Product is not showing on category page in magento 2.0.7

To show the product, check if the product following options: General->Status = Enabled general->Visibility = Catalog,Search Inventory->Qty > 0 Inventory->Stock Availability = In Stock Websites = checking your site Catgories = checking your category. If you want checking product to subcategory, go to Catalog->Manage Categories->Select your category, open tab Display …

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 »

COMPARE MAGENTO 1 VS MAGENTO 2 TECHNOLOGY

Read More »