How to?

  1. Translate Magento 2 using Translate Inline Tool

    If you need to translate some text in Magento 2 you can use the Magento Inline Translate functionality.

    In order to enable it, your Magento needs to be in the default or developer mode. Then you need to go to Admin Panel > Stores > Settings > Configuration > Advanced > Developer > Translate Inline.

    Magento 2 Developer Configuration

    Read more »
  2. How To Reindex Magento 2 Using CLI

    To reindex Magneto 2 using CLI (Command Line Interface) please navigate to your Magento folder in a terminal and use command:

    php bin/magento indexer:reindex

    It will reindex all indexes. Here is an example of the success reindex execution:

    Design Config Grid index has been rebuilt successfully in 00:00:00
    Customer Grid index has been rebuilt successfully in 00:00:00
    Category Products index has been rebuilt successfully in 00:00:01
    Product Categories index has been rebuilt successfully in 00:00:00
    Catalog Rule Product index has been rebuilt successfully in 00:00:01
    Product EAV index has been rebuilt successfully in 00:00:02
    Stock index has been rebuilt successfully in 00:00:00
    Product Price index has been rebuilt successfully in 00:00:01
    Catalog Product Rule index has been rebuilt successfully in 00:00:00
    Catalog Search index has been rebuilt successfully in 00:00:02

    Read more »
  3. 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 »
  4. 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 »
  5. How to clean Magento 2 Cache

    Clean Magento 2 cache via Admin Panel

    In order to clean a cache in Magento 2 please go to Admin Panel > System > Cache Management.

    Magento 2 Cache Management,Cache Flush

    Read more »
  6. Manage Magento 2 Admin Notifications

    Sometimes you can see notifications in Magneto 2 panel that are displayed over and over again. This is Magento 2 admin notifications.

    Magento 2 Admin Notification

    To stop showing these messages you need to mark them as read. 

    For this please navigate to Noficiations Manage page. Click on the bell icon in the top right corner in the admin panel and then press the "See All (X  unread)" link.

    Read more »
  7. How To Reindex Magento 2 From Admin Panel

    In Magento 2 you cannot perform the reindex from the back-office. To make a reindex you need use PuTTY or another terminal application to run the CLI commands, e.g. command for reindex:

    php bin/magento indexer:reindex

    With FREE Magento 2 Command Line (CLI) Extension by Magefan you can run CLI commands directly from Magento 2 admin panel.

    Once you install Magefan CLI extension a new menu item "System > Command Line" will be added to the admin menu.

    Magento 2 Command Line

    Read more »
  8. How to update Magento 2 extension?

    Please take a look at the flowchart below to understand how to update Magento 2 Extension.

    Read more »
  9. Accelerated Mobile Pages on Magento 2 Blog Pages

    Every modern website must have Accelerated Mobile Pages. The Accelerated Mobile Pages (AMP) Project is an open source initiative of Google, Twitter and other companies to make mobile web faster. Any online store that uses AMP will see faster load times, more pageviews, more customers. AMP already used by ecommerce giant - eBay, and thousands of other online stores over the world wide web.

    Read more »
  10. Resent blog posts on Magento 2 Homepage Sidebar

    1. Please navigate to M2 Admin Panel > Content > Pages, then start edit Home Page.
    2. Change the field Layout Update XML in Design section by adding the next code:

    <referenceContainer name="sidebar.additional">
        <block class="Magefan\Blog\Block\Sidebar\Recent" name="blog.sidebar.recent" template="sidebar/recent.phtml" after="wishlist_sidebar">
              <action method="setCacheLifetime">
                  <argument name="time" xsi:type="string">86400</argument>
    3. Save the page.
    4. Flush magento cache.

    Read more »
Posts loader