SilverCommerce\Checkout\AgreeToTerms\CheckoutExtension
Add the agreed to terms checkbox if setup in siteconfig
Synopsis
class CheckoutExtension
extends Extension
{
- // methods
- public boolean requireAgreeToTerms()
- public void updateCustomerForm()
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- requireAgreeToTerms() — Can the Agree to terms checkbox be added to the customer form?
- updateCustomerForm() — Add required agree to terms field to customer form