Technical Guidelines

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

  1. 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

  2. How to remove block, container, static resource in Magento 2
    How to remove block, container, static resource in Magento 2
    Magento 2 gives store owners the power to deliver the best experience for customers in all aspects. It's easy to customize the frontend to attract and engage users. In this article, We will show one of the basic customizations for Magento 2 developers: Remove the block, container, and static resource. 1. How to remove a block A block is a... (More)

    0 Comment

    0 Stars

  3. How to move block, container in a layout in  a Magento 2 page.
    How to move block, container in a layout in a Magento 2 page.
    Today, we will find out how to move elements (blocks, containers, etc..) in Magento 2 to different parts of a page using layout.xml. Overview Containers in layouts can contain blocks and are designed to effectively position them within the page. The main containers include DOM elements such as: headheadermainaside (left or right) These elements divide our page layout into containers... (More)

    0 Comment

    0 Stars

  4. How to add custom fields in Customer Address Form in Magento 2
    How to add custom fields in Customer Address Form in Magento 2
    There are many ways to add fields to the Customer Address Form in the backend and frontend pages. Today We will show you a simple way to add fields to the Customer Address Form in Magento 2. Backend Page If you want to add a new script to the existing module, you have to create an upgrade script. The following steps... (More)

    0 Comment

    0 Stars

  5. How to encrypt and decrypt data in Magento 2
    How to encrypt and decrypt data in Magento 2
    Overview According to recent market surveys, about 12% of all online retail websites were developed on the Magento platform.  As of October 2019, Builtwith.com's statistics, there are more than 250,000 e-commerce websites running on the platform. Even though Magento is a highly secure CMS compared to others, but still, it's still necessary to make sure that your Magento store is... (More)

    0 Comment

    0 Stars

  6. How to add custom fields to the Customer Registration page in Magento 2
    How to add custom fields to the Customer Registration page in Magento 2
    By default, Magento 2 allows customers to create a new account with some required info such as email addresses and passwords. However, we can easily add some more custom fields to the registration page of Magento 2 to collect more customer data. 1. Customer Attributes Basically, customer attributes provide the information that is required to support the order, fulfillment, and customer... (More)

    0 Comment

    0 Stars

  7. How to Add Product to Wishlist in Magento 2 Programmatically
    How to Add Product to Wishlist in Magento 2 Programmatically
    Magento 2 Wishlist allows users to add products to their favorites, which will save time for the next purchases. Also, the wishlists can also be shared with anyone via email. This article will guide you on how to add a product to the wishlist in Magento 2 programmatically. To add a product to a wishlist, we need two parameters: product... (More)

    0 Comment

    0 Stars

  8. How to add resource origins to request header with the new Content Security Policies (CSP) in Magento 2
    How to add resource origins to request header with the new Content Security Policies (CSP) in Magento 2
    Overview With the release of version 2.3.5, Magento has added another tool to combat Cross-Site Scripting (XSS) attacks with the built-in Magento_Csp module. This module adds support for Content Security Policy HTTP headers, and include policies such as: Any resource, such as .js, .css, .jpg, or .ttf files, can only be loaded from the store’s domainIframes can only include pages... (More)

    0 Comment

    0 Stars

  9. Access Control Lists (ACL) in Magento 2
    Access Control Lists (ACL) in Magento 2
    Access Control List (ACL) rules allow an admin to limit the permissions of users in their eCommerce system. This feature is helpful to make sure that no one will make changes in parts, not under their responsibility. For example, you can use ACL rules to authorize some users to access certain features like menus, controllers, API endpoints depending on the... (More)

    0 Comment

    0 Stars

  10. How to create a new shipping carrier in Magento 2
    How to create a new shipping carrier in Magento 2
    This blog contains full steps with example code snippets to create a custom shipping carrier on Magento 2 stores. By default, Magento supports a few shipping carriers. However, when you want to integrate with other 3rd parties logistics, you need to create a new shipping carrier. With this simple guide, you can follow step by step to create a new... (More)

    0 Comment

    0 Stars

Items 1 to 10 of 67 total

Page