Monthly Archives: July 2021

  1. Magefan News and Updates - July 2021

    Magefan News and Updates - July 2021

    Hello there, Magento fans!

    We haven’t been here for quite a while. So now we prepared a lot of News and Updates for you this hot July, 2021. We really hope you will enjoy all the new features of the latest Magento 2 extensions we have released.

    Let’s go!

    Read more »
  2. Hreflang Tags in Magento 2: Definition, Benefits, Extension

    Hreflang Tags in Magento 2: Definition, Benefits, Extension

    Getting your website ranked on Google is one of the most daunting tasks many websites struggle with, especially in eCommerce. Moreover, SEO is a complex concept that constantly changes and evolves. So, it may be hard to keep up with upcoming updates and algorithms.

    However, there are some essential factors you, as a store owner, should pay attention to: website speed, image optimization, content. The list can go on and on.

    The concept we want to get you familiar with today is hreflang tags, hreflang attributes or alternate hreflang tags. You will learn what hreflang tags are, why you need them, how they influence your website and, most importantly, how to add them to your Magento 2 website to get ranked.

    Without any further ado, let’s start.

    Read more »
  3. How to Add WebHook in Bitbucket?

    Same as other Git repositories, like Github or Gitlab, Bitbucket allows you to create webhooks for simplified application management. Bitbucket allows you to create up to 50 webhooks for different actions to make code push easier.

    So, let's check these triggers and learn how to add Bitbucket webhooks.

    To create webhooks in Bitbucket:

    1. Navigate to your Bitbucket account and choose the repository you want to create a Bitbucket webhook for.

    2. Go to the Repository Settings.

    Bitbucket Repository Settings

    Read more »
  4. How to Configure GitHub Webhooks?

    When you configure Github webhooks, you open a lot of opportunities and make the development process easier. They are used to update backup mirror or external issue tracker, trigger CL builds and deploy changes to the production server.

    Once you install the webhook, it will be triggered by a specific event like pull request or code push. Generally, webhooks allow you to automate a lot of processes, so you don't have to manually apply changes to the live.

    So, in this article, you will learn how to add webhook in Github.

    Let's start.

    To add webhook in Github:

    1. Navigate to your Github account.

    2. Choose the repository which you want to configure the webhooks for and go to the Settings.

    Test Repository on Github

    Read more »
  5. How to Configure Gitlab Webhooks?

    Webhooks simplify a lot of processes on your application. They automate the pull requests, merging, pushing and others. You can create an event that would trigger the webhook request which will do the work for you. 

    In this article, you're going to learn about Gitlab.

    Take the following steps to add webhooks in Gitlab:

    1. Go to your GitLab account

    2. Navigate to a repository you want to add webhooks for and find the Settings section. 

    Gitlab Repository Settings

    Read more »
  6. Magento 2 Object Manager

    Magento 2 Object Manager is a PHP class responsible for creating and retrieving objects in Magento 2. It also manages to create factories and proxies.

    How does it work?

    To get the object manager instance use the code:

    $objectManager = \Magento\Framework\App\ObjectManager::getInstance();

    To add object Manager to constructor:

         * @var \Magento\Framework\ObjectManagerInterface
        private $objectManager;
         * @param \Magento\Framework\ObjectManagerInterface $objectmanager
        public function __construct(
            \Magento\Framework\ObjectManagerInterface $objectmanager
        ) {
            $this->objectManager = $objectmanager;

    Using the ObjectManager you can get a singleton object (method "get") of PHP class or create a new one (method "create").


    $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
    Read more »
  7. Solved: Magento 2 Customer Addresses with Invalid Region Data

    Sometimes when you update Magento, it could change the required state parameters and set some obligatory states for several countries in Stores > Configuration > General. Moreover, this option can be updated by your colleagues or you.

    Magento State Options

    Read more »
  8. Magento Customer Registration Notification Email Sent to Admin

    Magento Customer Registration Notification Email Sent to Admin

    You work with eCommerce and Magento in particular, so you probably know how important it is to keep track of important changes in your store. One of the most important changes and updates you have every day are new orders and new customers.

    In any case, it is important to catch the moment and reach out to them with a follow-up, update or special offer.

    In this article, you will learn how to send an email to the admin after customer registration, so you are aware when there is a new customer registered.

    Magento allows you to send the customer registration email to customers, but not admins. However, you can use the Magento 2 Admin Email Notifications Extension for this. It provides you a very convenient configuration.

    Read more »
  9. Configure Contact Us Page in Magento 2

    Configure Contact Us Page in Magento 2

    Magento 2 Contact Us page is one of the most important pages on your website. 


    When you want to ask a question, complain, or request some information from the store customer service, what do you usually do? You go to the contact us page. And even if you want to reach out to thank a company, you won't be happy to find out there is no way to contact them.

    Contact Us page is a bridge that unites you with your customers, prospects, and partners. So you have to make sure it is accessible from every page of your website. Usually, it is in the footer.

    Contact Us Page Links

    In this article, you will learn how to configure and customize the Contact Us page.

    Read more »
  10. Create Configurable Product in Magento 2 Programmatically

    Creating configurable products you just` create simple products with some configurable options for customers to choose from. So, to create a configurable product programmatically you should start by creating a simple product and then assigning some features to it. 

    Follow these steps to create a configurable product in Magento 2 programmatically:

    Read more »
  11. Magento 2 Tax Configuration: Classes, Rates and Rules

    Magento 2 Tax Configuration: Classes, Rates and Rules

    Configuring Taxes in Magento 2 is an important process that needs to be paid much attention to, especially in eCommerce. Different countries have different taxing systems. Correspondingly before setting up tax rules, tax rates or tax classes in Magento 2 you need to be well-aware of the tax requirements of your country. 

    In this article, you'll learn everything you need to know about taxes in Magento 2, how to manage tax rates, set up tax classes, create tax rules and calculations.

    In Magento 2 taxes are auto-calculated based on tax rules. Tax rules, on the other hand, depend on customer, product tax classes as well as customers' shipping and billing addresses, and store location.

    Confused already?

    No worries. We'll walk you through the Magento 2 tax configuration step-by-step, so you can configure taxes in your Magento 2 store easily.

    Read more »
  12. How to Configure Magento Store Email Addresses?

    How to Configure Magento Store Email Addresses?

    Magento 2 store email addresses take an important part in your store as they give your customers an opportunity to contact you seeking some advice, update, support or cooperation. There are very few things people hate more than not being able to find an email to contact the business representative.

    Magento allows you to configure different kinds of email addresses in your store with predefined identities. Moreover, you can configure all of them for different store views.

    So, in this article, you will learn why you need to configure emails and how to configure Magento store email addresses.

    Read more »