DefaultBasketPreset
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 basket. It contains:
- InlineTextWidget
- SeparatorWidget
- TwoColumnWidget
- BackgroundWidget
- BasketWidget
- StickyContainerWidget
- ShippingCountryWidget
- BasketTotalsWidget
- CouponWidget
- LinkWidget
Namespace
Ceres\Widgets\Presets
Implements
Type | Name | Description |
---|---|---|
|
||
|
||
|
||
|
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
Type |
Name |
Description |
|
public setBackgroundWidgetSettings($widget):PresetWidgetFactory
Configures a background widget
Type |
Name |
Description |
|
public createWidget($identifier):PresetWidgetFactory
Creates the background widget with an identifier
Type |
Name |
Description |
|