Sunnysideup\Ecommerce\Tasks\EcommerceTaskCountryAndRegionAllowAllCountries
update EcommerceCountry.DoNotAllowSales to 0 so that you can sell to all countries.
Synopsis
class EcommerceTaskCountryAndRegionAllowAllCountries
extends BuildTask
{
- // members
- protected string $title = 'Allows sale to all countries';
- protected string $description = 'We add this task to reset all countries from Allow Sales to Disallow Sales - as a good starting point when selling to just a few countries';
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
protected
- $description
- $title