Magento 2

  1. How to Assign Attribute to All Attribute Sets in Magento 2 Programmatically

    Method to Programmatically Assign Attribute to All Attribute Sets in Magento 2 Create the PHP file in your Magento 2 root directory. If the product attributes are already created then just assign them to the attribute sets. <?phperror_reporting(E_ALL);ini_set('display_errors', 1);$ATTRIBUTE_CODE = 'attribute_text';$ATTRIBUTE_GROUP = 'General';
    Read more
  2. How to Change Default Admin Logo in Magento 2

    Method to Change Default Admin Logo in Magento 2 For the Admin Login Page Create the admin_login.xml to change the Admin logo. Directory view/adminhtml/layout/admin_login.xml Content of admin_login.xml <?xml version="1.0"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login"xsi:noNamespaceSchemaLocation="
    Read more
  3. Magento 2 Page Builder – Everything you Need to Know

    Magento has a Page Builder that allows you to create content using pre-built drag-and-drop controls. "Content Types" is another name for these controls. The page builder in Magento 2 makes it simple to manage content. It also makes creating content-rich sites with bespoke layouts a breeze. By dragging pre-designed rows, columns, blocks, buttons,
    Read more
  4. How to Set and Get Admin Session Quote in Magento 2 Programmatically

    Add the following code to set and get admin session qoute in magento 2 store. <?php namespace VendorName\ModuleName\Helper; use Magento\Framework\App\Helper\AbstractHelper;use Magento\Framework\App\Helper\Context;use Magento\Backend\Model\Session\Quote as BackendModelSession; class Data extends AbstractHelper{protected $backendModelSession;
    Read more
  5. How to Configure Currency in Magento 2

    Follow the following steps to configure Currency in Magento 2 Select the Allowed Currencies Set the Import Connection Complete the Scheduled Import Settings Modify the currency symbols Update Currency Rates Select the Allowed Currencies Go to Admin Panel, Stores > Settings > Configuration. Under the General click on the Currency
    Read more
  6. 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
    Read more
  7. 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
    Read more
  8. 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 <?
    Read more
  9. 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
    Read more
  10. 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">
    Read more

Items 71-80 of 218

Show per page