Skip to main content
General · Revision #2

How can I configure the account area?

How can I configure the account area?

ENV Variables

Variable
Default
Description
AERO_ACCOUNT_AREA_THEME aerocommerce/account-area Defines the namespace that should be registered as having the views and resources for the account area. This should only be changed under unique circumstances.
AERO_ACCOUNT_AREA_LAYOUT layouts.main Defines the layout that the account area views use. If the layout provided doesn’t exist, account-area::layouts.blank will be used.

Config File

If you would like to change any of the config values you can publish the config file by running:

php artisan vendor:publish --provider="Aero\AccountArea\ServiceProvider"

Once the file is published you will be able to edit it through the config php file created at /config/aero/account-area.php.

date_format

This defines the format used when displaying any dates in the account area. js F Y by default, e.g. 25/09/2026.

subscription_status_state_class

Maps subscription status states to specific colors, e.g. active => success. So when a subscription has a status with active state, the orb will have the class bpa-indicator--success (green).

order_status_state_class

Maps order status states to specific colors, e.g. active => success. So when an order has a status with active state, the orb will have the class bpa-indicator--success (green).

order_status_radio_options

This defines the order statuses shown in the radio options on the orders page and what order status states they map to.

order_years

This defines the number of previous years to display in the years dropdown on the orders page.

page_sections

This defines the sections that make up each page by default. You can add/edit/remove sections through code, it is not necessary to adjust these values usually.

form_sections

This defines the sections that make up each form by default. You can add/edit/remove sections through code, it is not necessary to adjust these values usually.

slots

This defines the views that are injected into slots by default.

This defines the links that should be in the navbar by default. You can add/edit/remove links through code, it is not necessary to adjust these values usually.