SilverShop\Tasks\PopulateCartTask
Add 5 random Live products to cart, with random quantities between 1 and 10.
Synopsis
class PopulateCartTask
extends BuildTask
{
- // members
- protected string $title = 'Populate Cart';
- protected string $description = 'Add 5 random Live products or variations to cart, with random quantities between 1 and 10.';
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
protected
- $description
- $title