Advanced Search
Search Results
418 total results found
Introduction to blocks
Whilst the layout of the storefront is dictated by the theme, the displayed content is managed through blocks. This includes navigation (such as header and footer menus), promotional imagery, static text and HTML snippets. Each block can contain multiple items...
Configuration
Configuration
How do I register new permissions?
// add a single permission \Aero\Admin\Permissions::add('custom'); // add multiple permissions \Aero\Admin\Permissions::add(['custom', 'custom.view', 'custom.manage']);
How do I check for permissions?
When checking for permission, you should always be as explicit as you can. For example, checking a user has the custom.viewor custom.managepermissions. Guarding content in a Blade file: @can('custom.view') ... @endcan @canany(['orders', 'custom']) .....
How do I change how order references are generated?
You can set an order reference generator to define how order references are generated. To do this you need to use the static setReferenceGeneratormethod on the Aero\Cart\Models\Ordermodel. The method accepts a closure that accepts the order as a parameter and ...
What is the robots file and how does it differ from normal?
The robots.txt file provides instructions for web crawlers and bots that index your store. Aero automatically registers core parts of the store that should avoid being indexed and visited by bots. In order to extend this file and add modules or store specific ...
How do I store product images on S3
You need to configure and set up your Laravel project for the S3 storage driver. You can read more about this in the laravel documentationAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, and AWS_BUCKET) and installing a composer package (league/fl...
Customization
Customization
How do I remove the manufacturers name from the order items name?
By default if a product name doesn’t contain the manufacturer name already, the manufacturer name is appended to the front of the product name when converting a cart item to an order item. If you don’t want the manufacturer name appended to the product name yo...
How do I remove the manufacturer from the product slug/url?
The manufacturer name is automatically prepended to the product slug (its URL). If you wish for this to not happen you can set the static Aero\Catalog\Models\Product::$slugContainsManufacturerboolean to false. <?php namespace Acme\MyModule; use Aero\Catalog\Mo...
Developer Faqs
Developer Faqs
Does Aero support Laravel Homestead installation?
Yes, Homestead is supported on Windows, Mac or Linux provided your Vagrant box configuration meets the system requirements
Can I use Aero project credentials across multiple projects?
No, Credentials must not be shared between projects.
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 with more complex actions and configurations.
What versions of Elasticsearch does Aero support?
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?
Aero requires PHP Version 7.2 and above.
How do I configure the PHP memory limit?
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...
Events
Events