626 results
for “install a theme”
Sorted by relevance
API / Customers
Update Customer Endpoint
Structure
Customer
Name
Type
Description
Required
id
...int
The id for the customer
No
name
string
The name of the customer
No
email
string
The email of the customer
No
group
stri ...ng
The group name of the customer
No
tax_group
string
The tax group nam...
Developer Documentation / Settings
Do do I set the default value of my custom setting?
You can add a default value to any setting by using the defaultmethod and passassing your defaulault valualue.
<?php
namespace Acme\MyModule;
use Aero\Common\Facades\Settings;
use Aero\Common\Providers\ModuleServi ...ceProvider;
use Aero\Common\Settings\SettingGroup...
Developer Documentation / Settings
How do I handle translations?
...g your setting groups title/summary, or a settings label/hint you can make use of Laravel Localizatiation for transanslatiations.
<?php
namespace Acme\MyModule;
use Aero\Common\Facades\Settings;
use Aero\Common\Providers\ModuleServi ...ceProvider;
use Aero\Common\Settings\SettingGroup...
Order Management / Introduction
Introduction to fulfillments
Fulfillments in the admin are where you take steps to deliver items to you ...r customer. It is easiest to imagine fulfillments as each parcel you will be sending to your ... customer. An order can have multiple fulfillments for a number or different reasons (e....
Admin / Permissions
How do I check for permissions?
Blade
@can('aan('acme.acme.view')
...
@endcan
@canany(['acanany(['acme.add&any(['acme.add',acme.add', add', 'acme.acme.edit'])
...
@endcan
Routes
Route::get('/acme&acme', [AcmeCAcmeController::class, 'ass, 'index'])
->name(&ame('admin.moadmin.modules.acmeacme')
->middleware(&are('can:acan:acme.acme.view');
Controllers
if ($thi ...s->can('acme.view')) {
// ...
}
i...
Developer Documentation / Settings
How do I register custom settings?
...er settings you need to use the Aero\Common\Facades\Settingsfacade from the setupmethod of your ...s service provider. You should call the groupmethod on the facade and pass in a unique name for your settings group and a closure that defines your s...
Order Management / Introduction
What is order management?
Order Management is where your orders and fulfillments are stored in the system.
The Ord ...er Management section is broken down in ...sections;
Orders - Fulfillments
Aero Order Management makes administration as easy as possible. With features includ...
Catalog Management / Listing Rules
What is the listing rules data formatter pipeline?
The Listing Rules Data Formatter is used to format the listing rules data into an array for the Admin UI page.
For example, the
\Aero\Admin\Pipelines\Pipes\AttachListingRuleAttributes attaches the attributes to the array:
class AttachListingRuleAttrib...
Search / General
How do I re-build documents?
At times (especially during the development phase of a store build), it may be necessary to delete and documents and freshly index them. This proc ...ess can be achieved using the following command:
php artisan aero:search:rebuild
Due to the nature of...
Storefront Developer Documentation / Layouts
Introduction to layouts
Layouts standardise the look and feel of your Aero storefront.
Layout location
All layouts are held within your local Aero installation.You can find them here:
resources>view ...s>layouts
Storefront Developer Documentation / Introduction
Introduction to blocks for storefront developers
Whilst the layout of the storefront is dictated by the theme, the displayed content is managed through blocks. This include ...s navigation (such as header and footer menus), promotional imagery, static text and HTML snippets. Each block can contain multiple it...
Developer Documentation / Configuration
How do I check for permissions?
...king 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:
ade file:
@can('can('custom.view')
...
@endcan
@canany(['orders&anany(['orders', 'custom'])
....
General / Pipelines
How do I extend pipelines?
The payload data can be altered using the
extend() metho ...d. This is typically done from within a Service Provider:
If the code i ...s unique to a particular store it could be placed in the
boot() method of the ...
AppServiceProvider.
If it is to b...
Order Management / Orders
What is the order item builder?
...er item builder is run whenever a cart item is transformed into an order item. It builds the orde ...r item data from the cart item.
For example, you can add a custom attribute to the order item:
\Aero\Cart\OrderItemBuilder::extend(func ...tion (\Aero\Cart\OrderItemBuilder $build...
Storefront Developer Documentation / Themes
How to Implement Subscriptions on the Product Page
... subscriptions on your product page you’ll need to add some code to your themes prod ...uct.twigfile that allows customers to see the available subscription plans and select the one they want.
The code snippet below provi ...des radio options that will allow cust...
Storefront Developer Documentation / Themes
How do I implement subscriptions on the product page?
... subscriptions on your product page you’ll need to add some code to your themes
pro ...duct.twigfile that allows customers to see the available subscription plans and select the one they want.
The code snippet below provi ...des radio options that will allow cust...
Developer Documentation / Listings And Search
How to Extend the Elastic Search Listing Model
The
Aero\Search\Elastic\Models\Listingmodel is buil ...t up from an array of data returned from elastic search. You can moan modify the model's attributes through the
Aero\Search\Elastic\Pipelines\ListingAttributespipeline.
For example you can change every listin...
Storefront Developer Documentation / Image Factory
How do I use Image Factory?
The image factory can be called using the
image_factory()helper function from with ...in PHP (.php and .blade.php) and Twig (.twig) files. When init ...ializing an instance, the width and height of the resized image must be provided (in pixels). ...
The image factory outputs a signed URL ...