Web Analytics

Fill the form & Get Installation Support

Magento 2: Get list of website programmatically

If you need lists of websites in template file then follow below steps:

Add one block file(GetWebsiteList.php) in your existing module and paste below code:

Call in the template file,

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Developer

    Hire T. Baldha

    Get a Free Quote

      /* second popup */

      Connect With Us