How to update product using the custom file from Magento root.?
Magento2 Product Update – How to Update Product Using Custom File
databasemagento2productproductsscript
databasemagento2productproductsscript
How to update product using the custom file from Magento root.?
Best Answer
For update product using the custom file from Magento root, first of all, you need to create
update.php
a file at your Magento root.And then paste following code into your file and then run `https://www.domain.com/update.php
On above example, we have just update product name.
After running this script if you
cache
is enabled then you need to refresh yourcache
using the following command.Hope that'll help you.