Configurations
The following settings are relevant for configuring a WEBSALE checkout process:checkout - Checkout process
Central configuration of the checkout process, for example for guest ordering, default selections, free checkout fields, shipping methods, and error display. The following are particularly relevant:checkout.checkout- General checkout settings, guest ordering, free fields, default valuescheckout.shippingMethod- Shipping methods in the checkout processcheckout.fieldErrorVisibility- Error display and error logic in the checkoutcheckout.checkout.defaults- Default selections, e.g., country, shipping method, payment method
customer - Customer data
Configuration of the customer data fields, for example for field definitions, mandatory fields, labels, field types, and validations. The following are particularly relevant:customer.customerDataField- Definition of individual customer data fields to be queriedcustomer.customerDataFieldSettings- Settings and validations of the customer data fieldscustomer.customerDataGroup- Grouping of customer data fields
accounts - User accounts
Relevant for logged-in customers, saved addresses, and saved bank or payment data. The following are particularly relevant:accounts.addressFieldsSettings- Settings for address fieldsaccounts.addressField- Definition of individual address fieldsaccounts.customerAddressField- Assignment of customer and address fields
accounts.bankInfoField- Bank data fieldsaccounts.creditCardField- Credit card fields
payment - Payment methods
Configuration of the offered payment methods and connected payment providers. The following is particularly relevant:payment.payment- Available payment methods
payment.payPalCheckout- Configuration for PayPal Checkoutpayment.stripe- Configuration for Stripe
Modules
The following modules are particularly relevant for integration into the templates:- $wsCheckout - Checkout state, addresses, shipping, payment, problems, totals
- $wsActions - Generating and evaluating actions
- $wsAccount - Login status, email, addresses, loadAddress()
- $wsViews - Current URL, destination pages, view URLs
- $wsBasket - Basket and order overview
- $wsConfig - Configuration values, for example salutations and currency
- $wsPayPalCheckout - PayPal Checkout
- $wsStripe - Stripe
Actions
For a checkout, depending on the desired scope, the actions documented under Checkout are particularly relevant. For all actions for the checkout process, see CheckoutAdditionally relevant for a one-page checkout
If all checkout areas are merged onto a single page, the following points in particular are relevant:- MultiActions - Trigger multiple actions with a single click
- $wsCheckout.draftBillAddressId - “Temporarily storing” the billing address without actually saving it
- $wsCheckout.draftShippingAddressId - “Temporarily storing” the shipping address without actually saving it
- checkout.fieldErrorVisibility - Error display and error logic in the checkout
- checkout.checkout.defaults - Default selections, for example country, shipping method, or payment method
