Technical Guidelines

Instructions and advice for developers and store owners in installing, configuring and customizing eCommerce websites and Magento 2 extensions.

  1. How to get currency symbol in Magento 2
    How to get currency symbol in Magento 2
    Magento 2 allows store owners to sell products in many countries by accepting different currencies which is familiar with local buyers. The Manage Currency Symbols feature gives you the ability to customize the symbol associated with each currency that is accepted as payment in your store. In this blog, I will show you how to get the currency symbol of... (More)

    0 Comment

    0 Stars

  2. How to login as customer in Magento 2
    How to login as customer in Magento 2
    There are times when customers need help with their orders, and that requires the store admin to investigate the issue under the customer’s view. From the version 2.4.0, the Magento 2 Login as Customer feature has been made available for both open source and enterprise versions of Magento. Enable Magento 2 Login as Customer Enable the feature In the admin... (More)

    0 Comment

    0 Stars

  3. How to add Magento 2 subscriber programmatically?
    How to add Magento 2 subscriber programmatically?
    You need to initialize the object, Magento\Newsletter\Model\SubscriberFactory to add a subscriber. You can also add the subscriber by any email. Follow example below to set magento 2 subscriber programmatically /** * @var \Magento\Newsletter\Model\SubscriberFactory */ protected $subscriberFactory; public function __construct( ... \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, ... ) { ... $this->subscriberFactory = $subscriberFactory; ... } public function execute() { $email = 'example@gmail.com'; $this->subscriberFactory->create()->subscribe($email... (More)

    0 Comment

    0 Stars

  4. How to add a static block in a sidebar column Magento 2?
    How to add a static block in a sidebar column Magento 2?
    Today, we will show an easy way to add a static block in a sidebar column that you can use to display important notifications for customers.  Using default feature of Magento 2 to creat static block Firstly, you have to create a CMS static block on the admin side which is a wonderful default feature of Magento 2. Access Backend... (More)

    0 Comment

    0 Stars

  5. How to setup New Relic in Magento 2
    How to setup New Relic in Magento 2
    New Relic is an APM software that monitors application performance and sends notifications if it finds any glitches. APM reveals what is happening deep in your code with end to end transaction tracing and a variety of color-coded charts and reports. This blog will show you how to set up New Relic in Magento 2. Step 1: Sign Up for... (More)

    0 Comment

    0 Stars

  6. How to create a message queue in Magento 2
    How to create a message queue in Magento 2
    When building a Magento website with many services involved, a developer could face several problems with cross-calling between services. Message queues provide a system for components/applications to asynchronously communicate with each other: Clients send requests to the server and receive an acknowledgment right away. The message is added into the queue and stored until the consumers retrieve them. Let's we... (More)

    0 Comment

    0 Stars

  7. How to setup Tax Rules, Tax Rates in Magento 2 ?
    How to setup Tax Rules, Tax Rates in Magento 2 ?
    Introduction Magento 2 allows you to create and set different tax rates for each region and product. We hope this article will help you understand better about Taxes in Magento 2. Create a Tax Rates Login to your admin page, click to Store->Tax Zones and Rates  : Creat a tax rate in magento 2 Click on Add New Tax Rate... (More)

    0 Comment

    0 Stars

  8. How to add comments to Order programmatically in Magento 2
    How to add comments to Order programmatically in Magento 2
    By Magento default, Comment History of order is a feature that helps us add annotations to that order by adding it manually. However, you can add comments to the order programmatically. This example will show you how to programmatically add comments to Order in Magento 2. <?php namespace Magenest\Blogs\Model\Order; use Magento\Framework\Exception\NoSuchEntityException; use Magento\Sales\Api\OrderRepositoryInterface; use Magento\Sales\Model\Order; use Magento\Sales\Model\Order\Status\HistoryFactory; use Psr\Log\LoggerInterface; class... (More)

    0 Comment

    0 Stars

  9. How to create a password or an encrypted field in Magento 2 System Configuration
    How to create a password or an encrypted field in Magento 2 System Configuration
    When you want to create a new field for input any password in system configuration Magento 2 but you don't want it to show the password as a text. Here we will guide you on how to create a password type field in the admin configuration in Magento 2. We use the “obscure” field type and  Magento\Config\Model\Config\Backend\Encrypted as the backend_model... (More)

    0 Comment

    0 Stars

  10. How to add a new section to Admin Sales Order View in Magento 2
    How to add a new section to Admin Sales Order View in Magento 2
    In this article, we will learn how to add sections to the sale order view page in Magento 2. Each component will have its own custom function depending on the purpose of each person. We will introduce several ways to add a new element to order view, code snippets are under a module named ‘Magenest_CustomSection’. 1. Add a custom button... (More)

    0 Comment

    0 Stars

Items 1 to 10 of 75 total

Page