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.
Blogs
-
How to Create and Assign Customer Group in Magento 2
To create the customer group follow these steps: Go to Admin Panel, click on the CUSTOMERS > Customer groups. Click on the Add New Customer Group button. In the field of Group Name, set the group name. Select the Tax Class. In the field of Excluded Website, Select websites you want to exclude from this customer group. Click on the Save -
How to Create/Save Admin Grid in Magento 2
Follow the following steps to create the admin grid in Magento 2: Create database schema Create routes admin Create admin menu Create Controller Create Admin Grid using Component Create Admin Grid using Layout Create database schema Create the database file in the setup directory. Directory app/code/VendorName/ModuelName/Setup/ -
How to Create a Catalog Price Rule in Magento 2
There are the following steps to create the cart price rule in Magento 2 Create a New Catalog Price Rule Set the Catalog Price Conditions Set the Catalog Price Actions Apply the Rule Create a new Catalog rule Go to Admin Panel, click on the Marketing > Promotions >Catalog Price Rule. To add a new rule, click on the Add New Rule -
How to Setup Promotions / Cart Price Rules in Magento 2
There are the following steps to create the cart price rule in Magento 2 Create a New Cart Price Rule Set the Cart Price Conditions Set the Cart Price Actions Set the Cart Price Labels Apply the Rule Create a new cart rule Go to Admin Panel, click on the Marketing > Promotions > Cart Price Rule. To add a new rule, click on the -
How to Set Production Mode in Magento 2
<h2 id="show-current-magento-2-mode">Show current Magento 2 Mode</h2> <p>Run the following command to show the current mode:</p> <pre class="highlight"><code>php bin/magento deploy:mode:show</code></pre> <p>Currently, we are in default mode. We can set to <strong>Production -
How to Add Custom Discount in Magento 2
<h3>Enter a total in the sale.xml file</h3> <p><strong>Directory</strong></p> <p>app/code/VendorName/ModuleName/etc/sales.xml</p> <p><strong>Content for this file</strong></p> <pre class="highlight"><code><config xmlns:xsi="http://www.w3 -
How to Run cron job manually via Command Line in Magento 2
<h2 id="how-to-run-cron-job-manually-via-command-line">To Run cron job manually via Command Line</h2> <p>To run the cron job manually, go to the Magento admin root folder.</p> <div class="language-plaintext highlighter-rouge"> <div class="highlight"> <pre class="highlight"><code>php bin/magento -
How to Reindex from admin in Magento 2
Backend Reindex Indexing from the Admin Panel is not allowed by default in Magento 2, we can only do that from the Command line or using some custom Magento 2 Module. We have developed a free Indexer Magento 2 extension which can be used. Please follow the below steps in order to install and use it. Reindex extension purpose Reindex extension by -
How to add WYSIWYG Editor in Magento 2 System Configuration
To add the WYSIWYG editor in system configuration in Magento 2 Create system.xml Directory app\code\VendorName\ModuleName\etc\adminhtml\system.xml Content of system.xml <field id="description" translate="label comment" type="editor" sortOrder="20" showInDefault="1"   -
How to Get WYSIWYG Editor’s data in Magento 2 Frontend Programmatically
To get the WYSIWYG editor's data on the frontend in Magento 2 Create registration.php Directory app\code\VendorName\ModuleName\registration.php Content of registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \