Skip to main content
626 results for “install a theme”
Sorted by relevance
Admin / Resource Lists
How do I add a sort by to an existing resource list?
You can use the  addSortBy() method to add a filter to an existing resource list: \Aero\Admin\ResourceLists\OrdersResourc ...eList::extend(function (\Aero\Admin\ResourceLists\OrdersResourc ...t, \Closure $next) { $list->addSortBy(\Aero\Admin\ResourceLis...
Admin / Reports
How do I add a filter to an existing report?
You can use the  addFilter() method to add a filter to an existing report: \Aero\Admin\Reports\Implementations\SalesReport::extend(function (\Aero\Admin\Reports\Implementations\SalesReport $report, \Closure $nex ...t) { $report->addFilter(\Aerocargo\Acme\Filters...
Developer Documentation / Account Area
How do 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....
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...
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 ...
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...
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-flags&#ags'; protected $key = 'order...
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 / 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...
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 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 / 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...