Skip to main content
599 results for “install a theme”
Sorted by relevance
Blueprint / Schema
What is the schema?
The schema defines all the components that are available to the theme: Component Desc ...ription Templates The major page types (e.g. homepage, product page). Sections Reusable layout components that can contain blocks. Blocks Reusable items available for use insi...
Catalog Management / Attributes
How do I create a new attribute?
Individual attributes are tied to their group, in order ... to create a new attribute you must first decide w ...hich group you want to add this new attribute to. First navigate to the attribute listings page and select the group you want to add new attributes or crea...
Catalog Management / Listing Rules
How can I add a custom listing rule?
To add a custom listing rule you need to ... create a class that extends  Aero\Catalog\Rules\ListingRule\AttributedWithRule. For example we will add a rule that checks if the listing has specific attributes. First, we need to ind ...ex the attribute ids so that they can be...
Admin / Reports
How do I add a lens to an existing report?
You can use the addLens() method to add a lens to an existing report: \Aero\Admin\Reports\Implementations\SalesReport::extend(function (\Aero\Admin\Reports\Implementations\SalesReport $report, \Closure $nex ...t) { $report->addLens(\Aerocargo\Acme\Lenses\To...
Storefront Developer Documentation / Checkout
How do I add a marketing opt-in to the checkout?
This article covers how to insert a checkbox into the checkout flow ..., that when ticked, will allow you to send information to a third party system. In order to add a marketing optionally opt-in to the checkout we fi ...to extend the CheckoutCustomerPageto inject our custom view that...
Developer Documentation / Admin Product Picker Component
What are the available props for the product picker?
...d prop. This is the URL for the API to get the products from. It’ ...s common to set this value to {{ route('admin.cataloatalog.alog.products.picker') }}. image-url-prefix String This is the ... image factory prefix to use for the prod ...uct image URLs. This is set by default ...
Discount Management / Vouchers
How do I add to the voucher activity timeline?
To add something to the voucher activity timeline you must create a class that extends \Aero\Admin\Activity: class CommentActivity extends \Aero\Admin\Activities\Activity { protected $comment ...; protected $view = 'admin::activity.comment'; pro...
Catalog Management / Attributes
What is an attribute?
Within Aero, attributes are used to differentiate versions of a product. This allows you to create variant products Attributes consist of the followi ...ng 2 elements: Attribute groups All attributes belong to an attribute group. Typical examples of attribute groups i...
Developer Documentation / Admin Filters
How do I create a custom admin filter?
To create a custom admin filter you need to create a class that extends Aero\Admin\Filters\AdminFilterand implements the handle method. handle Method This method is execu ...ted on every request made to a report or resource list with yo ...ur filter and accepts 2 parameters. The fir...
Admin / Mail Notifications
How do I add attachments to a mailable?
You can attach files to a mailable by using the  whenSendingAsMail callback: \Aero\Cart\Events\OrderConfirmation::whenSendingAsMail(function (\Aero\Events\Actions\Mailable $mailable, \Aero\Cart\Events\OrderConfirmation $event) { $pdf = \Aerocargo\PdfInvoices\Invoice::fo...
Catalog Management / Products
How do I create a new product in the admin?
In order to create a new product for your store firs ...t navigate to the product listings page and click and click the "+ New Product" but ...ton at the top of the page. From here you will be presen ...ted with the form for creating a new product. The product ...
Storefront Developer Documentation / Themes
How do I add featured products to the homepage of my store?
Listing collections can be used to group products toge ...ther and display them on specified pages. Install Run this command at the root of your project compo ...ser require aerocargo/listing-collections Create your section Create the file; your_theme_name/res...
Catalog Management / Attributes
How do I create a new attribute group?
In order to create a new attribute group first navigate to the attributes listings page and cand click the "+ New Attribute Group" button at the top of the page. From here you will be presen ...ted with the form for creating a new attribute group. The form i...
Storefront Developer Documentation / Themes
How do I convert a listings page into a landing page?
Update AppServiceProvider Add the following namespaces: use Aero\Catalog\Models\Category; use Aero\Responses\ResponseBuilder; u ...se Aero\Store\Http\Responses\Listing ...sPage; use Illuminate\Support\ServiceProvider; use ...Closure; Extend the listings page: class AppServiceProvider ext...
Admin / Resource Lists
How do I add a filter to an existing resource list?
You can use the  addFilter() 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->addFilter(\Aero\Admin\Filters\Ord...
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...
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...
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....