spydemon / m2-catalog_product_delete_all
Simple helper that contains a method that delete all products in the database and all product medias.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/product-community-edition: 2.*
This package is auto-updated.
Last update: 2024-05-07 21:11:46 UTC
README
Aim of the module
This Magento 2 module purpose is to provide a simple helper that contain a method that will erase all products in database and all product medias.
What you still have to do
Just inject the DeleteAllProducts
helper in the class you need it, and use it.
Warnings
- Check that indexers are updated by schedule, and not at each save. The deletion will be really long if it's not the case since a reindex will be done between each delete!
- The purpose of this module is more to help developers to save time instead of providing ready to use tools. Don't expect to be able to use it out of the box without a minimal integration on your side.
Compatibility
This module was tested on the Magento versions that follows.
Version | State |
---|---|
2.3.6 | Works |
How to install it
Using Composer for installing this module is the best way:
composer require spydemon/m2-catalog_product_delete_all
Help appreciated
If you like this module and find a bug or an enhancement, don't hesitate to fill an issue, or even better: a pull request. 😀