Magento2 How to add dynamic content on CMS pages 0 (0)

Magento2 How to add dynamic content on CMS pages 0 (0)

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 0 (0)

Magento2 Create a Simple Module 0 (0)

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 0 (0)

Magento2 How to Get Country Code Collection 0 (0)

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.