Home / MAGENTO 2

MAGENTO 2

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 »

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 »

File upload in Magento 2 store configuration

One of the best parts in Magento is its admin interface. There is support for all kinds of input types (text fields, radio buttons, dropdowns, multiple selects, etc.), that can be stored in various ways (plain, encrypted, serialized), and displayed in numerous ways (grids, forms, simple fields, images). What makes …

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 a basic and Simple module in Magento 2

We’re going to build a very simple module in Magento 2. When finished, the module’s output will say “Hello world!” in the block content on a custom frontend route. Prerequisites Needless to say, you will need the latest Magento 2 version which is currently 2.1. If you need any help …

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 »

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 »

How to create custom filed for default attribute value for description and images in manage attribute options in magento

By default Magneto only provide custom options without any description, if you want to customize with description then you must change in following files: Step 1:- In File app\design\adminhtml\default\default\template\catalog\product\edit\option\type\select.phtml Find the below code: '<th class="type-sku"><?php echo Mage::helper('catalog')->__('SKU') ?></th>'+ Add these after just after '<th class="type-description"><?php echo Mage::helper('catalog')->__('Description') ?></th>'+ Find the …

Read More »

Optimize log table of magento database

Optimize log table of magento database Optimize Magento Database table is one of a very important task of developer who maintain magento site. Let ‘s play around with the number relate to database size and performance because we need to know why we do cleaning magento database  table to get …

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 »

Please make sure your password match issue in magento 1.9

I have recently upgraded to Magento 1.9.0.1 and after I have go through checkout and enter your details and password, it popups with an error saying – Please make sure your password match issue in magento. how to resolve Please make sure your password match issue in magento 1.9 Before …

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 »

How to url redirect with another url in .htaccess file?

How to url redirect with another url in .htaccess file? Copy the code and past in root folder .Htaccess  file . Redirect 302 /jewellry-photography http://www.circulatetechnology.com/ Redirect 302 /http:www.google.com http://www.circulatetechnology.com/ example like: http://www.circulatetechnology.com/jewellry-photography redirect on http://www.circulatetechnology.com and http:www.google.com it will be redirect on http://www.circulatetechnology.com  

Read More »

Compare product button in header in magento.

Compare product button in header in magento. <?php $_helper = $this->helper(‘catalog/product_compare’); $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null; ?> <div class=”com”> <strong><span><?php echo $this->__(‘Compare Products’) ?> <?php if($_helper->getItemCount() > 0): ?> <small><?php echo $this->__(‘(%d)’, $_helper->getItemCount()) ?></small> <?php endif; ?> </span></strong> <?php if($_helper->getItemCount() > 0): ?> <script type=”text/javascript”>decorateList(‘compare-items’)</script> <div …

Read More »

Error when reindexing Catalog URL Rewrites in magento admin

Error when reindexing Catalog URL Rewrites in magento admin. Follow the following steps for the reindexing Catalog URL Rewrites in magento. Open CMD or Xampp Shell Command window. see image given below[/accordion][accordion title=” Connect with database phpmyadmin MySQL.”] command is: mysql -u root -p pres enter after asked password then …

Read More »

How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS?

How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS? Copy the code and past in .htaccess file and change the ip with you. RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC] RewriteCond %{REMOTE_ADDR} !^196.196.196.196 RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L] Example: RewriteCond %{REQUEST_URI} ^/(index.php/)?youradminname/ [NC] RewriteCond %{REMOTE_ADDR} !^ change here …

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 »