1 | <?php |
||
2 | |||
3 | namespace SilverShop\Checkout; |
||
4 | |||
5 | use SilverStripe\Core\Config\Configurable; |
||
6 | |||
7 | class CheckoutConfig |
||
8 | { |
||
9 | use Configurable; |
||
10 | |||
11 | /** |
||
12 | * Whether or not members can be created |
||
13 | * |
||
14 | * @config |
||
15 | * @var bool |
||
16 | */ |
||
17 | private static $member_creation_enabled = true; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
18 | |||
19 | /** |
||
20 | * Whether or not membership is required for checkout (eg. no guest checkout) |
||
21 | * |
||
22 | * @config |
||
23 | * @var bool |
||
24 | */ |
||
25 | private static $membership_required = false; |
||
0 ignored issues
–
show
|
|||
26 | } |
||
27 |