626 results
for “install a theme”
Sorted by relevance
Book
Account Area
Developer Documentation / Developer Faqs
Can I use Aero project credentials across multiple projects?
No, Credentials must not be shared between projects.
Checkout / General
How do I add a Custom CSS File to the Checkout?
You can add a custom CSS file to the checkout ... by creating a
checkout.css file in your publ ...ic directory.
Example contents where we are changing the checkout to use a black background:
.header {
background-color:#000000;
}
.header__progress li:before {
ba...
Storefront / Tutorials
How do I add featured products to the homepage of my store?
The recommended way to add featured products to the homepage of your store is to use the
aerocargo/listing-collections package.
Install
Run this command in the root of your project:
...composer require aerocargo/listing-collections
Create a section
1. Create the file:...
General / Announcements
Admin v1.3 Released
It's been almost 2 weeks since the last adminadmin release, ase, and wand we're back with more featureatures!
We've continued to improv ...e the list views (we call these resource lists), and have added support for searching on specific columns. This ... offers several benefits, but the main ones ar...
General / Response Builders
How do I attach middleware to a response builder?
Since Aero does not expose the underlyi ...ng routes and controllers, middleware can be attached directly to the response bu ...ilder. This allows for code to be executed be ...fore the main pipeline is run.
For example, to restrict all products from being accessibl...
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\SettingDefinit...
Developer Documentation / Php Traits
Aero\\Common\\Traits\\CanHaveAdditionalAttributes
This trait can be added to a model class. When added your model will have the ability to have additional attributes. The trait adds the following methods:
additionals Method
This is the relationship method. This provides t ...he relationship to Aero\Common\Models\A...
Search / Listings
How can I add a custom facet?
You can add a custom facet by extending the listing doc ...ument.
For example you can add a Stock Status facet:
\Aero\Search\Elastic\Documents\ListingDocument::add('string-facetsacets', function ($document) {
...$stock = $document->getModel()->availableStock() > 0;
return ...
Admin / Dashboard
What are the available lenses?
Key
Class
Permission
revenue-lens
Aero\Admin\Lenses\RevenueLens
reports. ...orders
average-order-value-lens
Aero\Admin\Lenses\AverageOrderValueLens
reports.orders
top-shipp ...ing-countries-lens
Aero\Admin\Lenses\TopShippingCountries ...Lens
reports.orders
return-rate-lens
Aero\Admin\Lenses\Return...
Admin / Transformers
How do I add custom data to a transformer?
You can add a custom field using the
add() method and returning an array:
\Aero\Admin\Transformers\ProductTransformer::add(function ($data) {
/* @var \Aero\Catalog\Models\Product */
$produc ...t = $data['pra['product'];
return [
...'foo' => 'bar',
];
});
You can add a cast...
Admin / Dashboard
How do I add a custom dashboard lens to the dashboard?
..., you must register your lens:
\Aero\Admin\Facades\Admin::registerLens(\Aero\Admin\Lenses\OrdersLens::class);
Then you can add it to the Dashboard:
\Aero\Admin\Http\Responses\AdminDashboardPage::extend(function (\Aero\Admin\Http\Responses\AdminDa...
Developer Documentation / Module Development
How do I register a custom Vue component for my module
To register a Vue component for our module, w ...e will need to create a JavaScript file for our components and in order to initialize Vue.
Link assets
In order to link all the assets, which is a necessary step of registering a Vue component, we need to add a...
Search / Listings
How can I add custom attributes to the listing model?
You can extend the
\Aero\Search\Elastic\Pipelines\ListingAttributes pipeline to add custom attributes to the listing model.
...For example you can moan modify the listing's name to include the attributes when the listing is sp ...lit by them.
\Aero\Search\Elastic\Pipelines\Lis...
Search / Documents
What are the available documents?
There are 2 documents available:
Aero\Search\Elastic\Documents\ListingsDocument ...used to hold information about the listings that are shown on the storefront.
Aero\Search\Elastic\Documents\ProductDocument u ...sed to hold information about the products within t...
Admin / Mail Notifications
How do I add a custom mail layout?
To add a custom mail layout you can use the
addLayout() method on the mail action:
\Aero\Events\Models\MailAction::addLayoAction::addLayout('acmeaddLayout('acmeayout('acme', acme', 'Acme&Acme');
Then you can create the
emails.acme twig view, which will be use ...d to render your layout:
Acme {{ body | raw }}
Admin / Tables
What are the available tables?
Customers
Aero\Admin\Tables\Customers\CustomerOrdersTable
Aero\Admin\Tables\Customers\CustomerVouchersTable
Fulfillments
Aero\Admin\Tables\Fulfillments\FulfillmentIte ...msTable
Orders
Aero\Admin\Tables\Orders\OrderCreateFulfillmentTable
Aero\Admin\Ta...
General / Announcements
Admin v1.2 Released
The main focus of 1.2 are the improvements to the mail notifications screens, where the team have worked on making it easier for retailers to know what variables are available to pop into their email templates (for example, knowing
{{ order.reference...