Update Product attribute with Patch Data file in Magento 2.3 and above version.
Sometimes we have created a product attribute and want to change some of the fields after generating product attributes, you can do it easily with Magento.
Let’s take an example, We want to change product attributes of Open source sample data, Sale attribute title with Discount. Need to create a Setup folder in your module with the Patch\Data folder inside it and create any PHP file to update title. Continue reading “How to update product attribute using Patch Data Magento 2?”