Template for PHP Coding Standard

PHP Coding Standards Result Verified whether the script followed the PSR-2 coding standard Verified whether the file should start with <?php tag and end with ?> tag   Verified whether file should contain declare(strict_types=1); statement   Verified whether all files must contain a header stating namespace and licensing information    Verified whether the copyright header… Continue reading Template for PHP Coding Standard

Resolve TypeError: Cannot read property ‘application_manifest’ of undefined at Object.getCompilationTasks (‘Folder path’) while running the gulp command.

This error as shown in the screenshot below, may occur while we run the gulp command. This error can be resolved by replacing the gulp folder in the extension/theme folder with the gulp folder in the extension/theme development tools respectively.

Human Resource Planning

Human Resource Planning (HRP) is the process of analyzing an organization’s human resource needs and developing strategies to meet those needs. It involves forecasting an organization’s future workforce needs and identifying the necessary skills, knowledge, and abilities required to achieve its strategic objectives. The HRP process typically begins by analyzing the organization’s current workforce, including… Continue reading Human Resource Planning

Backorder Functionality-Magento

Backorders in Magento 2 Backorders functionality is supported by Magento 2 out-of-the-box. Go to Stores – Configuration – Catalog – Inventory – Product Stock Options tab. In the ‘Backorders’ section select the necessary option: No backorders disables backorders in your store; Allow Qty Below 0 shows the product as In Stock even when the product reaches qty = 0;… Continue reading Backorder Functionality-Magento

Add Custom developments to add to cart

This is based on the event happening before adding a product to the cart. Using this event we may modify the qty and price of the product if the requirements are pointed out. This can be achieved with a help of a module Create a module with etc/frontend/di.xml After that create an observer to modify… Continue reading Add Custom developments to add to cart

How to use Sequelize in Node.js

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server.  Installation of Sequelize we have to install to Sequelize module install this module by using the following command. npm install sequelize Requiring module You need to include Sequelize module in your project by using these lines. const Sequelize = require(‘sequelize’);

Prototype Testing

Prototype testing refers to a type of testing that is performed on an early version or a model of a software system, known as a prototype. The purpose of prototype testing is to identify and address potential design flaws or functionality issues in the system before it is developed further or released to end-users. Prototype… Continue reading Prototype Testing