MageSales

Magento 2 Get Catalog Data 0

Magento 2 Get Catalog Data

Hi All, Here is some codes which will help us to get the magento 2 get Catalog info like current category, current product id, current, current category id, retrieve cross sell products from current product,...

Magento 2 Get Checkout Cart Data 0

Magento 2 Get Checkout Cart Data

Hi All, Here is some codes which will help us to get the magento 2 Checkout Cart data  info like total number of items in cart, get quote data, checkout session etc. inject Magento\Checkout\Model\Cart...

Magento 2 Get Current Store Info 0

Magento 2 Get Current Store Info

Hi All, Here is some codes which will help us to get the store info like magento 2 current Store id, base url, get base currency etc. 1) Magento 2 Current store Id inject...

magento2-programming-concepts 0

Magento 2 Programming Concepts and Conventions

With years of experience, the Magento platform grew up to implement a lot of industry concepts, standards, and conventions. Throughout this topic, we will look into several of these independent sections that stand out...

Magento 2 Module Directory Filesystem Structure - MageSales 0

Magento 2 Module Filesystem Structure

Magento identifies itself as a highly modular platform. What this means is that there is literally a directory location where modules are placed. Let’s take a peak at the individual module structure now. The...

Top-Level Filesystem Structure 0

Magento 2 Top-Level Filesystem Structure

The app/etc/di.xml file is one of the most important files that we might often look into during development. It contains various class mappings or preferences for individual interfaces. The var/magento/language-* directories is where the...

Magento 2 Architectural Layers 0

Magento 2 Architectural Layers

From top to bottom, Magento can be divided into four architectural layers, namely presentation, service, domain, and persistence. The presentation layer is the one that we directly interact with through the browser. It contains...