Advanced Search
Search Results
349 total results found
What are the available backend admin slots?
For more information about using backend admin slots please see our article "How do I inject a view into a backend admin slot? The following slots can be injected into. app- scripts- login.header- login.form- login.footer- login.footer- catalog.product.n...
How do I inject a view into a backend admin slot?
Any view you wish to inject into a slot should be defined in a Service Provider. If the code is unique to a particular store it could be placed in the boot method of the AppServiceProvider. If it is to be included as part of a module, then it can be added in t...
What are the available transformers?
The following classes are in the Aero\Admin\Transformersnamespace. Class Description AttributeTransformer This transformer is used in the ProductTransformer to transform the product's attribute groups. BaseVariantTransformer This transformer is used to generat...
How do I add custom data to a transformer?
To add custom data you need to use the static **add()**method on the relevant transformer. This method expects a closure that will return an array of the field(s) to merge into the transformers array. The closure will be passed an array of data that you can us...
How do I add custom clips to the redactor editor
Clips is a plugin for the Redactor editor that allows you to create a list of frequently used code to be used in the editor. In the following example we will add a label clip that will allow users to use a label in the Redactor editor that looks like this: You...
How do I use Vue in the admin?
When in an admin's Blade view file you can use any Vue directive (such as v-for, v-if, @clicketc). Putting Vue into Dev Mode Putting Vue into dev mode allows you to use the Vue dev tools. You can put the Admin Vue into dev mode by putting this code snippet ...
How do I add a custom Vue component to the admin?
This repo (https://github.com/aerocargo/admin-example-vue You need to add the assetLinksfunction to your modules service provider so that your modules assets are publicly linkable. An example module service provider can be found here in the repo (https://gith...
How do I import content blocks?
In order to export content blocks, we will require an Aero package. To install this package, type the following command in the project root directory: composer require aerocargo/blocks-import-export After installing the package, we can navigate to the adminthe...
How do I export content blocks?
In order to export content blocks, we require an Aero package. To install this package, type the following command in the project root directory: composer require aerocargo/blocks-import-export After the package has been installed successfully, we can navigate...
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...
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...
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...
Does Aero support Laravel Homestead installation?
Yes, Homestead is supported on Windows, Mac or Linux provided your Vagrant box configuration meets the system requirements