A Product is the main entity for any e-Commerce system, A product has multiple information like Title, SKU, Inventory, Images and so more.
Let’s Start with the Main point, A product has multiple images available and we want to know how each product are stored in the database.
catalog_product_entity_varchar used for store product images value.
Continue reading “How product images are saved in database Magento 2?”
You can apply custom conditions to Product Collection before load by creating a plugin in Magento 2. Some situation in your project need to add some conditions before product collection loaded you can achieve it by below way,
In Magento\Catalog\Model\ResourceModel\Product\Collection file load() method is used for load the product collection globally.
Continue reading “How to apply custom condition before product collection loaded magento 2?”