351 results
Sorted by relevance
Content Management / Redirects
What is the redirects list?
Your redirtects list shows any redirects you currently have setup, along with their from and to urls and the status code.
Content Management / Redirects
How do I create a new redirect?
Redirects are slighly different to how you create a new one, when compared with the other elements in the store.
Redirects require only a small amount of information therefor the create form is part of the listing page.
In order to create a new redirect first ...
Developer Documentation / Account Area
What are the default pages in the account area?
The following classes are in the Aero\AccountArea\Http\Responsesnamespace.
Class
Route
Description
AccountLoginPage
login
A page where users can log in.
AccountRegisterPage
register
A page where guests can register.
AccountPasswordForgotPage
password.forgot
A ...
Developer Documentation / Account Area
What are the default sets in the account area?
The following classes are in the Aero\AccountArea\Http\Responsesnamespace.
Class
Method
Route
AccountLoginSet
Post
login
AccountLogoutSet
Post
logout
AccountRegisterSet
Post
register
AccountPasswordForgotSet
Post
password.forgot
AccountPasswordResetSet
Post
pa...
Developer Documentation / Account Area
What are the default forms in the account area?
The following classes are in the Aero\AccountArea\Http\Formsnamespace.
Class
Description
AccountAddressEditForm
The edit address form.
AccountAddressNewForm
The new address form.
AccountDetailsForm
The account details form.
AccountLoginForm
The login form.
Acc...
Developer Documentation / Account Area
How do I inject into a slot in the account area?
You can inject into account area slots using the Aero\AccountArea\AccountAreaSlot::injectmethod. This method accepts two parameters, the key of the slot you want to inject into and then the view or a closure that defines the view to be injected. When passing a...
Developer Documentation / Account Area
How do 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_AC...
Developer Documentation / Account Area
How do I create a custom page in the account area?
To create and register a custom account area page you need to use the **Aero\AccountArea\AccountArea::registerPage()**helper method. This method expects you to pass a class that extends Aero\AccountArea\AccountAreaPage.
<?php
namespace Acme\MyModule;
use Acme\...
Developer Documentation / Account Area
How do I extend a form in the account area?
Forms can be extended using a pipeline from your modules service providers setup method or your projects app service providers boot method. You can read more about pipelines in the article "Introduction to pipelines
Adding a Field
To add fields to a form you c...
Developer Documentation / Account Area
How do I create a custom set in the account area?
Sets are used for POST/PUT/DELETE requests. To create and register a custom account area set you need to use the Aero\AccountArea\AccountArea::registerPost(), Aero\AccountArea\AccountArea::registerPut(), or Aero\AccountArea\AccountArea::registerDelete(), helpe...
Developer Documentation / Account Area
How do I extend a page or set in the account area?
Account Area Pages/Sets are Response Builders (link) which means that they can be extended using a pipeline. You can use all of the usual Response Builder stuff and also for pages you can add/remove/update sections using addSection, addSectionAfter, addSection...
Developer Documentation / Account Area
How do I add a custom CSS file to the account area?
You can add a custom CSS file to the account area by creating a file named
account-area.cssin your public directory.
Example contents where we're overriding the default colours:
:root {
--bpa-color-primary: deepskyblue;
--bpa-color-success: forestgree...
Developer Documentation / Account Area
How do I create a new form for the account area?
To create a form you need to create a class that extends the
AccountAreaFormclass.
The
$sectionsarray lists the views used to render the form.
The
methodmethod defines the method that the form will use (this should be
post,
get,
put, or
delete).
The
ro...
Developer Documentation / Account Area
What are the available slots in the account area?
The following slots can be injected into.
orders.order.card.header-
orders.order.card.dispatched-
orders.order.card.not-dispatched-
orders.order.card.footer-
addresses.address.card.footer
Developer Documentation / Admin Dashboard Lenses
What are the default dashboard lenses available?
The default dashboard lenses are stored in the admin configuration file as an array called dashboard_lenses. You can add or remove dashboard lens classes from this array.
Key
Class
Permission
revenue-lens
Aero\Admin\Lenses\RevenueLens
reports.orders
average-or...
Developer Documentation / Admin Dashboard Lenses
What is a dashboard lens?
Dashboard lenses are the blocks of content that make up the interactive part of the admin dashboard.
They provide an overview of various stats such as your total revenue, orders, and your top selling products.
There are a number of default lenses and you can a...
Developer Documentation / Admin Dashboard Lenses
How do I create a custom dashboard lens?
To create a dashboard lens you need to create a class that extends
Aero\Admin\AdminLensand implements the datamethod.
data Method
This method is executed every time the lens needs data (when the dashboard loads or when the dashboard date range is changed). Th...
Developer Documentation / Admin Dashboard Lenses
How do I use a custom view for my dashboard lens?
You can optionally make your dashboard lens use a custom view. To do this you need to set the protected
$viewstring on your lens to the view you would like to use.
<?php
namespace Aero\Admin\Lenses;
use Aero\Admin\AdminLens;
use Illuminate\Http\JsonResponse;
...