Sunnysideup\EcommerceProductVariation\Tasks\EcommerceProductVariationTaskDeleteVariations
Synopsis
class EcommerceProductVariationTaskDeleteVariations
extends BuildTask
{
- // members
- protected boolean $verbose = true;
- protected string $title = 'Deletes all the variations and associated data from a product';
- protected string $description = 'CAREFUL: the developer will need to supply the ID as a get variable (?productid=XXX) as well as a test / live flag (?live=1, default is test) for the product and variations will be deleted without keeping a history.';
- // methods
- public static void create_link()
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
protected
- $description
- $title
- $verbose