Technical Guidelines

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

  1. What is SSL? How to setup SSL with Magento 2 with Apache or Nginx?

    What is SSL? How to setup SSL with Magento 2 with Apache or Nginx?

    What is an SSL Certificate? SSL stands for Secure Sockets Layer and, in short, it's the standard technology for keeping an internet connection secure and safeguarding any sensitive data that is being sent between two systems, preventing criminals from reading and modifying any information transferred, including potential personal details.  The two systems can be a server and a client (for... (More)

    0 Comment

    0 Stars

  2. How to check Magento 2 coding standard using code sniffer

    How to check Magento 2 coding standard using code sniffer

    Reading other people's code is not an uncommon task, and this becomes difficult when each person has a different habit of writing code, making it difficult for reading comprehension, as well as modifying and developing later. For that reason, rules need to be followed to define code standards and improve the readability of the source code. Coding Standard Coding Standard... (More)

    0 Comment

    0 Stars

  3. How to validate custom input fields in Magento 2

    How to validate custom input fields in Magento 2

    When working with forms, sometimes you need to make special requirements to validate the data that customers enter. In this topic, I will show you how to create custom rules in Magento 2. Magento form validation rules Magento has created a lot of useful rules and you can find them in vendor/magento/module-ui/view/base/web/js/lib/validation/rules.jsvendor/magento/module-review/view/frontend/web/js/validate-review.jsvendor/magento/module-payment/view/base/web/js/model/credit-card-validation/validator.js Below are a few commonly used rules: How... (More)

    0 Comment

    0 Stars

  4. How to validate forms in Magento 2

    How to validate forms in Magento 2

    The Magento application provides various ways to validate your form inputs. In this article, I will show you how to validate forms in Magento 2, using javascript. To add validation to your form you need initiating validation There are several ways to initiate form validation:- Using the data-mage-init attribute <form id="my-form" data-mage-init='{"validation": {}}'> ... </form> - Using the text/x-magento-init script... (More)

    0 Comment

    0 Stars

  5. How to create a date field in Magento 2

    How to create a date field in Magento 2

    Date fields are mainly needed when it is required to pick an unknown date in context for a specific event or schedule some plan. It doesn’t only reduce typing errors but also standardize the format. It also helps to improve the user experience by allowing users to simply select rather than inputting using the keyboard. In this article, we will... (More)

    0 Comment

    0 Stars

  6. The best way to create date selection fields in Magento 2

    The best way to create date selection fields in Magento 2

    The Date Selection Fields in Magento 2 is primarily needed when it comes to scheduling certain plans/actions. For Magento 2 users, it does not only reduces typing errors but also saves the admin a lot of time. With the standardized format, Magento 2 date picker helps enhance the user experience: Instead of using the keyboard, the user can simply click... (More)

    0 Comment

    0 Stars

  7. How to create a popup using Modal widget in Magento 2

    How to create a popup using Modal widget in Magento 2

    When working with Magento 2, we try to take advantage of all the utilities that Magento has supported, to avoid having to rework the existing features, which causes time and effort. In this post, I am going to explain how to create and call modal popup widget in Magento 2. First, we have a button. Clicking it will display a... (More)

    0 Comment

    0 Stars

  8. How to create swatches properties in Magento 2

    How to create swatches properties in Magento 2

    In this article, we will go through the steps to create swatches for products on Magento 2 using a built-in product attribute management system.  Magento supports color swatches and text-based swatches. Options not available for selection are either crossed out or blurred. Magento 2 swatches: Color and text-based swatches Configure swatches in Magento 2 To create swatches, go to Admin... (More)

    0 Comment

    0 Stars

  9. How to show loader on AJAX call in Magento 2

    How to show loader on AJAX call in Magento 2

    When using AJAX in Magento 2, it takes a little time to get new content from the server based on its execution time. When the AJAX is processing, developers could show a loader to let users know or prevent users from doing any action before the AJAX is done. In this article, we will guide you on how to show... (More)

    0 Comment

    0 Stars

  10. How to set up reCAPTCHA in Magento 2

    How to set up reCAPTCHA in Magento 2

    According to Wikipedia, “reCAPTCHA is a CAPTCHA (Completely Automated Public Turning test to tell Computers and Humans Apart) system, which is a system that allows web hosts to distinguish between human and automated access to websites.” Google reCAPTCHA provides a shield to protect websites from fraud and abuse by using an advanced risk analysis engine and adaptive challenges to make... (More)

    0 Comment

    0 Stars

Items 1 to 10 of 87 total

Page