Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

349 total results found

Can I use Aero project credentials across multiple projects?

Developer Documentation Developer Faqs

No, Credentials must not be shared between projects.

Is Laravel required to run Aero?

Developer Documentation Developer Faqs

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 with more complex actions and configurations.

What versions of Elasticsearch does Aero support?

Developer Documentation Developer Faqs

Aero supports both Elasticsearch 6.x and 7.x. Support for Elasticsearch 6.x is provided by the 0.x version of aerocommerce/elastic-search. Support for Elasticsearch 7.x is provided by the 1.x version of aerocommerce/elastic-search.

Which versions of PHP will Aero run on?

Developer Documentation Developer Faqs

Aero requires PHP Version 7.2 and above.

How do I configure the PHP memory limit?

Developer Documentation Developer Faqs

Due to the number of fields that are sometimes present in the admin, it may be necessary to adjust the PHP max_input_varsvalue. The default of 1,000 fields can be too small when managing a product that contains hundereds of variants. This limit is quickly rea...

How do I create a new event listener?

Developer Documentation Events

To create a new listener class for one of our events, we can use Artisan to scaffold the listener from the project root directory: php artisan make:listener UpdateDetails After adding all the necessary functionality for our listener, we have to make Aero aware...

What are the events available?

Developer Documentation Events

Account AddressCreated - AddressDeleted - AddessUpdated - CustomerManualylCreated - CustomerRegistered - CustomerUpdated - CustomerChanged - PasswordResetRequest Cart CartEmptied - CartItemAdded - CartItemRemoved - CartItemUpdated - OrderCanceled - OrderClosed...

How do I add a custom event to a Service Provider?

Developer Documentation Events

Laravel events provide an observer implementation, allowing you to listen and observe for specific tasks happening in your application. Adding a custom event to a ServiceProvidermeans that the application will listen to it as soon as it occurs. In terms of cho...

What are event listeners?

Developer Documentation Events

Event listeners, as the name suggests, listen to events that have been assigned to them. This means that listeners have to first be manually mapped for which events they should listen to. Mappings for Event Listenersare declared in the appropriate Service Prov...

How do I create a new event?

Developer Documentation Events

To create a new event, we first have to scaffold the class using Artisan in the project root directory: php artisan make:event Registered The above command scaffolds a class into the app/Eventsand we can modify it accordingly to our needs. After applying all t...

How do I make custom mail notification events?

Developer Documentation Events

To create an event that shows up in the Mail Notifications part of the admin your event needs to extend Aero\Events\ManagedEventand have Aero\Events\ManagedHandleras a registered listener. To create an event you need to create a class that extends Aero\Events\...

What are models and how do I use them?

Developer Documentation Extending Core Functionality

All models provided as part of the Aero core platform are Eloquent models For example, if a module provided reviewsfor products, the reviewsmethod can be added to the Product model using a macro: \Aero\Catalog\Models\Product::macro('reviews', function () { ...

How do I add a custom field to the new and edit product page?

Developer Documentation Extending Core Functionality

In this mini tutorial we will add a notes field to the product new and edit page for the product and each variant. This mini tutorial assumes that you have a module setup or you’re happy working from the app service provider (using the boot method). You can se...

What are the available commands?

Developer Documentation Extending Core Functionality

php artisan make:module This command scaffolds a module for you (you need to provide a valid name for the module such as aerocargo/my-module). This involves setting up composer and publishing some default module stubs. php artisan aero:configure This command w...

How to add a custom field to the address forms?

Developer Documentation Extending Core Functionality

This short tutorial will walk you through adding an address line 3 field to all of the address forms (found in the admin, account-area, and checkout). Migrations The first step is to add your field to all of the address tables so that it can be stored. To do t...

How do I extend the address forms?

Developer Documentation Extending Core Functionality

Aero has address forms in the checkout, account-area, and admin that can be extended. Storefront Address Forms The storefront address forms are address forms found on your storefront (the checkout and the account-area). These forms are customer facing and all ...

How do I add settings to my model?

Developer Documentation Extending Core Functionality

This tutorial will explain the steps required to add settings to your model and assumes you have your model setup with create and edit pages. Adding a Trait to your Model The first step is to add the Aero\Common\Traits\CanHaveSettingstrait to your model. <?ph...

How do I add a custom price to a product with a module?

Developer Documentation Extending Core Functionality

In this mini tutorial we will add some checkboxes to the product page that when checked add an additional charge to the product. The additional charge will be shown dynamically on the product page as it changes or the product's price changes (due to different ...