ShopBuilderSettingsHandler

Maps the routing settings from IO to Ceres. This allows us to set routing settings in the ShopBuilder.

Namespace

Ceres\ShopBuilder\Handler

Implements
Properties
Type Name Description

array

$mappings

Maps the Ceres settings to the IO settings.

array

$casts

Decides what datatype the settings should be casted as.

array

$enabledRoutes

Contains all enabled routes from the plugin config.

Methods
public readRouting_HomeEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_HomeEnableRoute($enableHomeRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableHomeRoute

If true, enable the route.

public readRouting_BasketEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_BasketEnableRoute($enableBasketRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableBasketRoute

If true, enable the route.

public readRouting_CheckoutEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_CheckoutEnableRoute($enableCheckoutRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableCheckoutRoute

If true, enable the route.

public readRouting_MyAccountEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_MyAccountEnableRoute($enableMyAccountRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableMyAccountRoute

If true, enable the route.

public readRouting_searchEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_searchEnableRoute($enableSearchRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableSearchRoute

If true, enable the route.

public readRouting_ConfirmationEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_ConfirmationEnableRoute($enableConfirmationRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableConfirmationRoute

If true, enable the route.

public readRouting_LoginEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_LoginEnableRoute($enableLoginRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableLoginRoute

If true, enable the route.

public readRouting_RegisterEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_RegisterEnableRoute($enableRegisterRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableRegisterRoute

If true, enable the route.

public readRouting_CancellationRightsEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_CancellationRightsEnableRoute($enableCancellationRightsRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableCancellationRightsRoute

If true, enable the route.

public readRouting_CancellationFormEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_CancellationFormEnableRoute($enableCancellationFormRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableCancellationFormRoute

If true, enable the route.

public readRouting_LegalDisclosureEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_LegalDisclosureEnableRoute($enableLegalDisclosureRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableLegalDisclosureRoute

If true, enable the route.

public readRouting_PrivacyPolicyEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_PrivacyPolicyEnableRoute($enablePrivacyPolicyRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enablePrivacyPolicyRoute

If true, enable the route.

public readRouting_GtcEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_GtcEnableRoute($enableGtcRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableGtcRoute

If true, enable the route.

public readRouting_ContactEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_ContactEnableRoute($enableContactRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableContactRoute

If true, enable the route.

public readRouting_WishListEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_WishListEnableRoute($enableWishListRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableWishListRoute

If true, enable the route.

public readRouting_ChangeMailEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_ChangeMailEnableRoute($enableWishListRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableWishListRoute

If true, enable the route.

public readRouting_PasswordResetEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_PasswordResetEnableRoute($enableWishListRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableWishListRoute

If true, enable the route.

public readRouting_NewsletterOptOutEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_NewsletterOptOutEnableRoute($enableWishListRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableWishListRoute

If true, enable the route.

public readRouting_OrderReturnEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_OrderReturnEnableRoute($enableWishListRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enableWishListRoute

If true, enable the route.

public readRouting_PageNotFoundEnableRoute():bool

Check if route is enabled or disabled.

public writeRouting_PageNotFoundEnableRoute($enablePageNotFoundRoute):string

Enable or disable the route.

Parameters

Type

Name

Description

bool

$enablePageNotFoundRoute

If true, enable the route.