797 results
Sorted by relevance
Book
Search
Search
Listings
Search / Listings
What is the listing attributes pipeline?
The listing attributes pipeline is used to build the attributes for the
Aero\Search\Elastic\Models\Listing model.
It can be extended to add new attributes or modify existing attributes.
For example you can modify the listing's name to include the attributes w...
Book
Settings
Settings / General
What setting types are available?
As of 15/09/2026, there are ten setting types available:
Type
Description
String
Stores text values.
Boolean
Stores
true/
false values.
Integer
Stores whole-number values.
Float
Stores decimal values.
Array
Stores multiple values of different types.
Eloquent
...
Settings
Model Settings
Settings
Setting Definitions
Settings / Model Settings
How do I add model settings to a model?
Model settings provide a consistent way to store configurable settings against an Eloquent model. There are various steps needed to be followed to setup model settings for a model.
First, add the
\Aero\Common\Traits\CanHaveSettings to the model and optionally...
Settings / Setting Definitions
How do I add setting definitions to a model?
Setting definitions allow you to define settings via the admin UI.
To add a setting definition for a model, you must add the model type, you can do this using the model class or relation key.
For example:
// By class
\Aero\Common\Models\SettingDefinition::addM...
Book
Discount Management
Discount Management / Discounts
How do I add a custom amount resolver?
The cart discount implementations use the
\Aero\Cart\Traits\DeterminesAmount trait, which allows you to set a custom amount resolver for a discount type
For example you can set a limit for percentage discounts:
\Aero\Cart\PercentageDiscount::resolveAmount(fun...
Discount Management
Discounts
Discount Management
Vouchers
Discount Management
Price Lists
Discount Management / Price Lists
How do I resolve custom price lists?
To resolve custom price lists you can create a customer group in the Admin and create price lists that are only available for customers in that group.
First, create a setting for this customer group so that you can easily access it in code:
\Aero\Common\Facade...
Book
Events
Events / General
What are the available events?
Order Events
Class
Mail Notifications?
\Aero\Cart\Events\AbstractOrderEvent
-
↳
\Aero\Admin\Events\CustomerFacingOrderCommentAdded
Yes
↳
\Aero\Admin\Events\OrderFlagAttached
Yes
↳
\Aero\Admin\Events\OrderFlagUpdated
Yes
↳
\Aero\Admin\Events\OrderFlagDetach...
Admin / Mail Notifications
How do I set the priority of a mailable?
You can set the priority of a Mailable using the
priority() method.
For example:
// For a specific event
\Aero\Cart\Events\OrderConfirmation::whenSendingAsMail(function (\Aero\Events\Actions\Mailable $mailable, \Aero\Cart\Events\OrderConfirmation $event) {
...