599 results
for “install a theme”
Sorted by relevance
API / Attribute Groups
Attribute Group Index Endpoint
Structure
See View Attribute Group Endpoint for the ...structure of the attribute group payload inside the
data array.
Example Request
GET /api/attribute-groups?per_page=2
Exampleample Response
{
"current_page": 1,
"data&qata": [
//...
],
"f...
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\OrderConfirmatio...
API / Attribute Groups
Update Attribute Group Endpoint
Structure
Name
Type
Description
Required
name
string
The name of the attribute group (e.g., Size or Co ...lour)
No
display_as
string
The display as of the attribute group (e.g.: dropdown, ...color_swatches, image_swatches, swatches)
No
reference
string
The r...
API / Locations
Create Location Endpoint
Structure
Location
Name
Type
Description
Required
id
...int
The id for the location
No
name
string
The name of the location
Yes
email
string
The email of the location
No
phone
string
The phone n ...umber for the location
No
line_1
string
The first ...line for the location
Yes
line_2
string
The secon...
API / Collections
View Collection Endpoint
Structure
Collection
Name
Type
Description
name
string
The name of the collection
slug
string ... rules for the collection
rules
array
The listing page rules of the collection, see ...ule
content
object
The listing page content of the collection, se...
API / Customers
View Customer Endpoint
Structure
Customer
Name
Type
Description
id
int
The i ...d of the customer
name
string
The name of the customer
email
string
The email of the customer
created_at
timestamp
The date that the customer was created at
group
object
The group the cus ...tomer belongs to, see Group
addresses
array
An array of Addre...
Storefront / Events
How do I run a custom event?
You can run your own custom event usin ... the
runEvent() method:
window.Aero.runEvent('acme'acme', { foo: 'barar' });
And listen for it wherever needed ...:
window.AeroEvents.on('acmeacme', (dataata) a) => {
console.log(data);
});
Setup / Admin
How do I change the default admin slug?
You can change the default admin slug by setting a variable in your
.env:
AERO_ADMIN_SLUG=admin-panel
Setup / FAQs
Is Laravel required to run Aero?
Yes, the Aero platform is built on top of the Laravel framework. Knowledge of Laravel is not essential for basic Aero development but will help wi ...th more complex actions and configurations.
Events / General
How do I enable mail notifications for an event?
You can enable mail notifications for an event by registering it with t ...he
\Aero\Events\ManagedHandler listener:
class ServiceProvider extends \Aero\Common\Providers\ModuleServi ... protected $listen = [
Acme::class => [
\Aer...
Setup / Agora
How can I create credentials for my Aero project?
To create your project credentials, navigate to https://agora.aerocommerce.com/projects and click the
New Project button ...hen simply enter the project's name and optionally its domain.
API / Locations
Update Location Endpoint
Structure
Location
Name
Type
Description
Required
id
...int
The id for the location
No
name
string
The name of the location
No
email
string
The email of the location
No
phone
string
The phone n ...umber for the location
No
line_1
string
The first ...line for the location
No
line_2
string
The second...
Admin / Mail Notifications
How do I override the html content of a mailable?
You can set the HTML of a Mailable using the
html() method.
Fo ...r example, the email builder uses this to render t ...he HTML of the email from the
template, rather than the
body:
\Aero\Events\ManagedEvent::whenSendingAsMail(function (\Aero\Events\Act...
Storefront / General
How can I add content into the body of the storefront?
The content for body pipeline can be used to inject content into ... the
<body> element of the page, such as stylesheets, meta tags, scripts, or other body eleme ...nts:
// Globally
\Aero\Store\Pipelines\ContentForBo ... return $next($content . view('acme::script'))
});
// Product Pa...
Storefront / General
How can I add content into the head of the storefront?
The content for head pipeline can be used to inject content into ... the
<head> element of the page, such as stylesheets, meta tags, scripts, or other head elements.
// Globally
\Aero\Store\Pipelines\ContentForHead::extend(function (string $cont ... return $next($content . view('acme::script'))
});
// Product Pa...
Developer Documentation / Google Shopping Feed
How do I configure the Google Shopping feed?
Generating the taxonomy
Generating the taxonomy table is a required task after we’ve initially installed the package, and is the source of all the categories provided by google shop ...ping.
To generate the taxonomies table we can:
Navigate to the modu...
Admin / Dashboard
How can I remove an existing lens from the dashboard?
You can remove an existing lens by using the
re ...moveLens() method and passing the
key of the lens you want to remove:
\Aero\Admin\Http\Responses\AdminDashboardPage::extend(function (\Aero\Admin\Http\Responses\AdminDashboardPage $page, \Closure $nex...
Setup / FAQs
Which versions of PHP will Aero run on?
Aero requires PHP Version
7.2 and upwards.