Monthly Archives: September 2018

  1. How To Upgrade From Megnor Blog to Magefan Blog for Magento 2?

    Megnor Blog is a distribution of Magefan Blog. If you use Megnor Blog extension you might want to replace it with the latest version of Magefan Magento 2 blog extension to get new features, security improvements, and bug fixes. The changelog can be found on our website.

    To replace Megnor_Blog with Magefan_Blog, please follow the steps below:

    1. Make a full backup of your Magento 2 files and Data Base.

    2. Rename all Data Base tables that start with 'megnor_blog_...' to 'magefan_blog_...'. E.g. rename "megnor_blog_post" table to "megefan_blog_post". You can use PhpMyAdmin for this purpose.

    3. Rename the folder




    4. Remove the folder


    5. Install Magefan Blog Extension.

    6. Recreate blog widgets. For homepage widget use custom template "Megefan_Blog::widget/list_home.phtml" in widget settings.


    Read more »
  2. bin/magento Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate xxx bytes)

    When you run Magento 2 CLI command "bin/magento ..." and get the error:

    Allowed memory size of xxxx bytes exhausted (tried to allocate xxx bytes)

    You can easily fix it using instead of bin/magento this command:

    php -dmemory_limit=-1 bin/magento ....
    Read more »
  3. Why order and invoice total doesn't match with my bank transaction? shop uses the United States dollar (USD) as a base currency. For a customer's convenience prices on the store are displayed in customer's local currencies (e.g. EU members see prices in Euro, British citizens correspondingly in British Pound etc.).

    That is why during a payment a total you are charged with is USD. Also, USD amount sends to a bank account. A bank in its turn converts USD amount to customer's currency using own rate.

    A bank's rate and a rate specified on our shop could be different. That's why a total customer is charged with can little vary from a total customer see on a product page, but it's always the same amount in USD.Magento 2 Order Summary

    Read more »
  4. Migrate AheadWorks M1 Blog to Magento 2 Blog

    In order to migrate AheadWorks Blog for Magento 1 to Magento 2 Blog please install free Magefan Blog Extention.

    Thereafter, please go to Admin Panel > Content > Blog > Import.

    Magento 2 Migrate AheadWorks M1 to Magento 2

    Read more »
  5. Programmatically assign attribute to all attribute sets in Magento 2

    If you have a product attribute and what to assign it to a single attribute set, it's easy to do via Magento 2 Admin Panel > Stores > Attributes > Attribute Set.
    But what if you need to assign it to all your attribute sets? What if you have 50+ or ever 100+ attribute sets? It can be time costly.

    So what you can do, is to create a simple script that will do all job for you.

    1. Create a PHP file "myscript.php" in your Magento 2 root directory.

    Read more »
  6. Configure Open Graph Tags for Magento 2 Product Page

    In order to configure Open Graph tags for Magento 2 product page (e.g.: product image for Facebook) please go to Admin Panel > Catalog > Products and choose a product you are interested in.

    Magento 2 OG Tags,Product page

    Read more »
  7. Configure Open Graph Tags for Magento 2 CMS Page

    In order to configure OG Tags for Magento 2 CMS Page please go to Admin Panel > Content > Pages.

    Magento 2 OG Tags, CMS Page

    Read more »
  8. Сonfigure Open Graph Tags for Magento 2 Category Page

    In order to configure OG Tags for Magento 2 Category Page please go to Admin Panel > Catalog > Categories.

    Magento 2 OG Categories

    Read more »
  9. Configure Open Graph Extension In Magento 2

    In order to set up base configurations for Magento 2 Open Graph Module please go to Stores > Configuration  Magefan Extensions > Open Graph.


    1. Enable an extension choosing correspondingly Yes in Enable Extention select box.

    2. In a Default OG Image, you can set Open Graph image by default. The chosen image will be used for a page if it is not redefined, for example in product settings.

    3. The Open Graph description can be set  by default in a Default OG Description.

    Magento 2 OG Extention,General

    Read more »
  10. Configure Auto Language Switcher in Magento 2

    In order to set up Magento 2 Auto Language Switcher Module please go to Stores > Configuration > Magefan Extensions > Auto Language Switcher.

    Magento 2 Auto LanguageSwitcher,General,ExtentionRestrictions,Default storeViewBy Country

    Read more »
Posts loader