599 results
for “install a theme”
Sorted by relevance
Storefront Developer Documentation / Sections
What are the available storefront section parameters?
Sections can be easily parameterised. This brings more flex ...ibility and removes further duplication.
Using parameters in Sections is quick, easy and powerful. Follow the steps be ...low to create and use a Section:
Step 1 - Adding parameters to the Section ...
API / Variants
Update Variant Endpoint
Structure
Variant
Name
Type
Description
Required
sku ...
string
The unique SKU for the variant
Yes
reference
string
The uniq ...ue reference for the variant
No
name
string
Display name of the variant
No
summary
string
A short summary of the variant
No...
Order Management / Orders
How do I add to the order activity timeline?
To add something to the order activity timeline you must create a class that extends
\Aero\Admin\Activity:
class OrderFlagsEditActivity extends \Aero\Admin\Activity
{
protected $view = ...'admin::activactivity.edit-flagsags';
protected $key = 'order...
Admin / Resource Lists
What are the available resource lists?
Class
View
\Aero\Admin\ResourceLists\AttributeGroupsResourceList
admin::resource-lists.index
\Aero\Admin\ResourceLists\BlocksResourc ...eList
admin::resource-lists.index
\Aero\Admin\ResourceLists\CategoriesResourceList
admin::resource-lists.index
\Aero...
API / Orders
Create Order Endpoint
Structure
Order
Name
Type
Description
Required
id
...e reference for the order
Yes
status_id
int
The status id of the order, can also be resolved from
state
If
ordered_at is not null
state
string
Alternative to passing
status_id, resolves the first statu...
Account Area / General
How can I configure the account area?
ENV Variables
Variable
Default
Description
AERO_ACCOUNT_AREA_THEME
aerocommerce/account-area
Defines the namespace that should be registered as having the views and resources for the account area. This should only be changed under unique circumstances....
Developer Documentation / Php Traits
Aero\\Responses\\Traits\\HasSections
This trait can be added to a response builder class. It adds useful methods for managing sections of the page. There are other traits (HasBottomSections, HasTopSections, and HasSidebarSections) in the same namespace that add more section helpers (thes...
Admin / Filters
How do I create a custom admin filter?
To create a custom admin filter you must create a class that extends
\Aero\Admin\Filters\AdminFilter and implement a
handle method:
class OrderStatusAdminFilter extends \Aero\Admin\Filters\AdminFilter
{
use \Aero\Admin\Filters\Traits\HasDefault;
...
Storefront / Currencies
What is a fascia currency and how do I use it?
A fascia currency can be set to render a different currency to the one s ...pecified in the store configuration.
Setting the fascia currency
The easiest way to check for and apply the fascia currency is through
store midd ...leware.
The example snippet below de...
Admin / Resource Lists
How do I create a custom resource list?
To create a resource list you need a normal Laravel controller and a class that extends
Aero\Admin\ResourceListsAbstractResourceList.
class OrdersResourceList extends \Aero\Admin\ResourceLists\AbstractResourceList
{
//
}
Your co ...ntroller should be like this example but for your new resource l...
Developer Documentation / Settings
What are the available setting types?
Setting
Description
$group->array(‘allow_list’);
Returns an arrarray.ay.
$group->boolean(‘enabled’);
Returns a boolean, true or falsalse.
$group->eloquent('order_status', OrderStatus::class);
Stores the key of the eloqu ...ent model you pass and returns an instance of th...
General / Pipelines
What are the available pipelines?
Pipeline
Description
\Aero\Store\Pipelines\ContentForBo ...to be injected into the body of all pages.
\Aero\Store\Pipelines\ContentForHead
Builds content string to be in ...jected into the head of all pages.
\Aero\Store\Pipelines\RobotsTxt
Us ...ed to defined/generate a robots.txt file.
\Aero\Stor...
Storefront Developer Documentation / Themes
How to add sashes to your listing card / product page
There are several ways to achieachieve this featureature. We'll highlight a few below.
Method 1: Using tags
Assigning a tag group fag group for use as "sas "sashesashes" will allow you to bulk tag many products so that they have the same sash.
Update AppServiceProvider
Add the fo...
Developer Documentation / Admin Filters
How do I create a checkbox list admin filter?
To create a checkbox list admin filter you need to create a class that extends Aero\Admin\Filters\CheckboxListAdminFilterand implements the handleCheckboxListand checkboxesmethods.
handleCheckboxList Method
This met ...hod is executed when any checkboxes are checked and ac...
Developer Documentation / Admin Filters
How do I create a dropdown admin filter?
To create an options date range admin filter you need to create a class that extends Aero\Admin\Filters\DropdownAdminFilter and implements the handleDropdown and dropdowns methods.
handleDropdown Method
This method ...is executed when a dropdown option is set and acce...
Developer Documentation / Resource Lists
What is a bulk action?
A bulk action allows for the selection of multi ...ple values from a list, and apply some logic to items that have only been selected. Bulk actions exist for many different Resource Lists, whi ...ch is what is used for determining items ...that have been selected.
Bulk actio...
Developer Documentation / Admin Filters
How do I create a searchable select admin filter?
To create an options date range admin filter you need to create a class that extends Aero\Admin\Filters\SearchableSelectAdminFilter and implements the handleSearchableSelect, model, modelName, and searchRoute methods.
handleSearchableSelect Method
This...
Storefront Developer Documentation / Themes
How to add a header image to your listings page
On a listings page we can pass through an image from the admin using the
combinationvariable in the
listings.twigview. T ...he combination is the data model that holds the information for the particular listings page being viewed - since listings ... can be made up of a category, a ma...