Tag: Best Magento 2 Tutorials (page 1 of 2)

How to Get All Regions of Country by Country Code in Magento 2

In this post I am going to explain how to get all regions of country by country code Magento 2. Add below code snippet in Block class.

Add below code snippet in template file.

Thats it. Enjoy Magento 2!! Team HiddenTechiesWrite an article about ecommerce that help people to grow their ecommerce business….

How to get CMS Block Collection in Magento 2

In this post I am going to explain how to get cms block collection in Magento 2. 1. Using Dependency Injection Add below code snippet in Block class.

Add below code snippet in template file.

2. Using Object Manager

Thats it. Enjoy Magento 2!! Team HiddenTechiesWrite an article about ecommerce that help…

How to Get Customer Data By Customer Email in Magento 2

In this post I am going to explain how to get customer data by customer email Magento 2. Using below code snippet you can get customer data by passing customer email and website id. Add below code snippet in Block class.

Add below code snippet in template file.

That’s it. Enjoy Magento 2!!…

Magento 2 – How to get Magento 2 Edition and Version

In this post I am going to explain how to get Magento 2 edition and version. 1. Using Dependency Injection Add below code snippet in Block class.

Add below code snippet in template file.

2. Using Object Manager

It will return edition name like Community or Enterprise and the version like 2.3.5-p1….

How to Change the Admin Startup Page in Magento 2

In this article we’ll show you, how to change the Admin startup page in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration Step 2: Change the Admin Startup Page Now from sidebar go to, Advanced > Admin Now…

How to Create a Catalog Price Rule in Magento 2

Catalog price rules can be used to offer products at a discounted price. Catalog price rules do not use coupon codes, because they are triggered before a product is added into the shopping cart. In this article we’ll show you, how to create a Catalog Price Rule in Magento 2. Follow this simple guideline… Step…

How to Setup Cart Price Rules in Magento 2

In this article we’ll show you, how to setup Cart Price Rules in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Marketing > Promotions > Cart Price Rules Step 2: Add Rule Information Now click on Add New Rule. Here Add Rule Information….

How to Configure Pagination Controls in Magento 2

In this article we’ll show you, how to configure Pagination Controls in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Content > Design > Configuration Step 2: Edit Design Configuration Now click on Edit button. Step 3: Configure Pagination Controls Expand The Pagination….

How to Create a New CMS Block in Magento 2

In this article we’ll show you, how to create a new CMS block in Magento 2. Follow this simple guideline… Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Content > Element > Blocks   Step 2: Create CMS Block Now click on Add New Block button. Fill the required…

How to Create New Category in Magento 2

In this article we’ll show you, how to create a new category in Magento 2. Follow this simple guideline… The category structure in Magento is like tree, with the root at the top. Each section of the tree can be expanded and collapsed. You can create as many additional subcategories as needed. Categories can be…

Older posts