We use cookies to make your experience better. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.
Blog
-
Magento 2 Admin Panel: Admin Dashboard and General Settings
Magento 2 Admin Panel, also known as Magento 2 backend, contain a dashboard where the store the owner can access and perform data. The dashboard contains many menus and tabs that perform various tasks. The left sidebar of the Magento admin panel contains these options: Admin Dashboard Sales Tab Catalog Tab Customers Tab Marketing Tab -
How Indexing works in Magento 2 admin panel
Overview To enhance the performance of your storefront, indexing is how Magento transforms data like products and categories. When data changes, then the data must be updated or reindexed. Magento architecture is very sophisticated that stores merchant data like catalog data, prices, users and stores etc. So the Magento use indexers to enhance the -
How to Indexing and Reindex in Magento 2 programmatically
Follow the following steps to create a custom indexer in Magento 2: Create the Indexer configuration file Create Mview configuration file Create Indexer class Create the Indexer Configuration file The indexer will be defined in the indexer.xml file. Directory app/code/VendorName/ModuleName/etc/indexer.xml Content of indexer.xml <? -
How to add rich snippets to Magento 2 products using Schema.org tags
<h2>What are schema.org tags?</h2> <p>Schema.org tags allow us to define our page content by structured microdata. Providing search engine spiders as much data of our page allows site indexing to be further accurate and provide better search results. The most useful thing about attaching microdata to your Magento product pages is -
How to Create System.xml Configuration in Magento 2
<h3>Steps To Create System.xml Configuration in Magento 2</h3> <h3>Create System.xml</h3> <p><strong>Directory</strong></p> <p>app/code/VendorName/ModuleName/etc/adminhtml/system.xml</p> <p><strong>Content for this file</strong></p> <pre class="highlight"> -
How to fix 301/302 redirect in Magento 2 programmatically
<p>If you have an unexpected 301 or 302 redirects in Magento 2, you can easily find it by editing the following files:</p> <pre>/vendor/magento/framework/HTTP/PhpEnvironment/<strong>Response.php</strong> /var/www/html/m2_35ee/vendor/magento/framework/Controller/Result/<strong>Redirect.ph</strong></pre& -
How to Create Database Tables in Magento 2
<p>To create a database table in Magento 2, you need to create a file in the module folder:</p> <p><strong>Directory</strong></p> <pre>app/code/VendorName/ModuleName/Setup/InstallSchema.php</pre> <p><strong>Content for this file</strong></p> <pre><?php<br> -
How to Add EAV Attribute in Magento 2 programmatically
<h2 class="h2 font-weight-medium">How to Add EAV Attribute in Magento 2</h2> <h3 id="overview-of-magento-2-eav-attribute">Overview of Magento 2 EAV attribute </h3> <p>Your Models will still extend <code class="language-plaintext highlighter-rouge">\Magento\Framework\Model\AbstractModel</ -
How to call children in Magento 2 template knockout
<h2 id="overview-of-calling-children-in-magento-2-template-knockout">Overview of calling children in Magento 2 template knockout</h2> <h3>Create two children: <code class="language-plaintext highlighter-rouge">child_a</code> and <code class="language-plaintext highlighter-rouge"> -
How to Create a Custom Log File in Magento 2
<h2>Create a basic Magento 2 module</h2> <h3>Create Registration.php</h3> <p><strong>Directory</strong></p> <p>VendorName\ModuleName\registration.php</p> <p><strong>Content for this file</strong></p> <pre><?php<br>\Magento\Framework\Component