Magento2 How to add dynamic content on CMS pages

Magento2 How to add dynamic content on CMS pages

Sometimes we need to add a dynamic content to the CMS pages. We can use 2 possible ways to achieve that: Calling a custom phtml file directly from

Magento2 Create a Simple Module

Magento2 Create a Simple Module

Today I am going to demonstrate you how to create a basic custom module in magento2. Prerequisites : This tutorial assumes that you have installed magento with latest

Magento2 How to Get Country Code Collection

Magento2 How to Get Country Code Collection

To get country list data, you need to create instance of Country collection model `Magento\Directory\Model\ResourceModel\Country\CollectionFactory`. Once instance is created, you can load it by current store.