How to display “Free” for product with $0.00 price in Magento 2

Going to use the Around plugin to change $0.00 to as “Free” text. You can follow below steps to get it done: For PLP and PDP, you can replace your module name as per given exapmle app/code/MM/Training/etc/frontend/di.xml app/code/MM/Training/Plugin/Pricing/Render/PriceBox.php Just flush […]

How to create or drop a foreign key and add Index in the table in Magento 2?

Part 4: Last part to this series post of database operation, we are going to cover in this post How to create or drop a foreign key and add index in the table? Create a foreign key and add an […]

How to add or drop a column from a table in Magento 2?

Part 3: to continue series of database operation, how to add a column or delete a column from database table in Magento 2 using declarative schema. Add a column to Table: Modify your module db_schema.xml file to add a new […]

Page 2 of 5
1 2 3 4 5