From 6a9d9db1e2b9e51c2cd694807e563a2cc8e2ac3d Mon Sep 17 00:00:00 2001 From: Evgeny Levinsky Date: Mon, 4 Mar 2024 16:51:02 -0600 Subject: [PATCH] Added module description with explanation of the functionality --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..573e189 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +### What's the problem? + +That sometimes might be a case when your Magento content managers use the same images with assigning them to +different products - and that may consume a lot of priceless server media storage. Especially if you're on +a big number of SKUs, that'll become a real issue. + +### What to do? + +Our small extension helps to discover such duplicates in products' galleries, remove them and point the images to +original path. + +### How to use? + +That's easy - `bin/magento catalog:images:remove-duplicates` + +**Warning** + +Please create dumps of below listed tables, for being able to revert changes if something goes wrong. + +- catalog_product_entity_media_gallery +- catalog_product_entity_varchar