DefaultMyAccountPreset

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 where customers can view and interact with their contact data, orders, and returns. It contains:
- TwoColumnWidget
- BackgroundWidget
- SeparatorWidget
- GreetingWidget
- AddressWidget
- LogoutButtonWidget
- AccountSettingsWidget
- BankDataSelectWidget
- OrderHistoryWidget
- OrderReturnHistoryWidget
- TextWidget

Namespace

Ceres\Widgets\Presets

Implements
Properties
Type Name Description

PresetHelper

$preset

CeresConfig

$ceresConfig

PresetWidgetFactory

$twoColumnWidgetTop

PresetWidgetFactory

$twoColumnWidgetAddresses

PresetWidgetFactory

$twoColumnWidgetAccountSettings

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