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
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
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.