How to Switch between Multiple PHP Version on Ubuntu
On your system, if you have installed multiple versions of PHP (eg PHP 7.4 and PHP 5.6 both). PHP 7.4 is running as default PHP for Apache and CLI. For any requirement, you need to use PHP 5.6. Then you don’t need
How to Create Custom Product Type in Magento 2
Magento 2 supports 6 product types by default: Simple Product, Grouped Product Configurable Product, Bundle Product, Virtual Product, and Downloadable Product. These product types, each having its own features, enables Magento 2 to support a wide range of industries. However, owing to
How to Programmatically Add Custom Discount in Magento 2
Sometimes E-commerce businesses go through the period when the sales go down than the regular season. In this time to increase sales, bring new customers and retain the old ones, store owners implement sales promotion techniques and offering discounts is one
How to Force Only One Product Per Order in Magento 2
A Magento 2 store owner may want to limit the number of items to be purchased per order due to limited stock or some selling strategy. This may even be the case when production conditions come to picture. It might
How To Create Simple Products in Magento 2
According to Magento docs, A simple product is a physical item with a single SKU. There are six product types in Magento 2: Simple ProductConfigurable ProductGrouped ProductVirtual ProductBundle ProductDownloadable Product Among these, the simple product type is integral and as the name says, the most basic product type
How To Create Configurable Product in Magento 2
According to Magento docs, A configurable product is a collection of a separate simple product with unique SKU. There are six product types in Magento 2: Simple ProductConfigurable ProductGrouped ProductVirtual ProductBundle ProductDownloadable Product Configurable products allow customers to choose options (Ex: shirt colour). You need to create a