DefaultCheckoutPreset

This is a preset for ShopBuilder contents. Presets can be applied during content creation to generate a default content with predefined and configured widgets.
This particular preset generates a page for viewing and interacting with the checkout. It contains:
- TwoColumnWidget
- BackgroundWidget
- AddressWidget
- ShippingProfileWidget
- PaymentProviderWidget
- ContactWishWidget
- ShippingPrivacyCheckWidget
- GtcCheckWidget
- BasketWidget
- BasketTotalsWidget
- CouponWidget
- PlaceOrderWidget
- CancelPaymentWidget

Namespace

Ceres\Widgets\Presets

Implements
Properties
Type Name Description

PresetHelper

$preset

CeresConfig

$ceresConfig

PresetWidgetFactory

$backgroundWidget

The background widget

Methods
public getWidgets():mixed

Get the widget configurations of the presets to be assigned to the created content.

public createBackground($preset):PresetWidgetFactory

Creates a preconfigured white background widget

Parameters

Type

Name

Description

PresetHelper

$preset

public setBackgroundWidgetSettings($widget):PresetWidgetFactory

Configures a background widget

Parameters

Type

Name

Description

PresetWidgetFactory

$widget

public createWidget($identifier):PresetWidgetFactory

Creates the background widget with an identifier

Parameters

Type

Name

Description

string

$identifier