Skip to main content
263 results for “custom module routes”
Sorted by relevance
Developer Documentation / Settings
How do I add settings to the product model?
...settings <?php namespace Acme\MyModule; use Aero\Catalog\Models\Produc ...t; use Aero\Common\Providers\ModuleServiceProvider; use Aero\Common ...; class ServiceProvider extends ModuleServiceProvider { public func ... { Product::settings('my-module', function (SettingGroup $group...
General / Pipelines
How do I extend pipelines?
... is to be included as part of a module, then it can be added to the se ...tup method of the module's Service Provider. For example ..., if a module needs to add an option to items ...class should be extended in the module's ServiceProvider as shown belo...
Storefront / Listings Page
How do I extend the listings page query?
...have products that only certain customer groups can view and buy. Firs ...talog\Models\Product::settings('customer_groups', function (\Aero\Comm ...{ $group->eloquent('allowed_customer_groups', \Aero\Account\Models ...\CustomerGroup::class) ->hint('...
Developer Documentation / Account Area
How do I inject into a slot in the account area?
...ed view. <?php namespace Acme\MyModule; use Aero\AccountArea\AccountAr ...Slot; use Aero\Common\Providers\ModuleServiceProvider; class ServicePr ...ovider extends ModuleServiceProvider { public func ...IR__.'/../resources/views', 'my-module'); AccountAreaSlot::inje...
API / Price Lists
View Price List Endpoint
...price list (e.g., everyone, not-customers, customers, groups) start_at timestamp ...array An array of Entry objects customer_groups array An array of Customer Group objects Entry Name Type ...rency for the price (e.g., GBP) Customer Group Name Type Description i...
Developer Documentation / Settings
How do I configure the admin edit page?
...r group. <?php namespace Acme\MyModule; use Aero\Common\Facades\Settin ...gs; use Aero\Common\Providers\ModuleServiceProvider; use Aero\Common ...; class ServiceProvider extends ModuleServiceProvider { public func ... Settings::group('acme-my-module', function (SettingGroup $group...
Developer Documentation / Resource Lists
How do I extend an exisiting resource list?
...eys out. <?php namespace Acme\MyModule; use Aero\Admin\ResourceLists\O ...List; use Aero\Common\Providers\ModuleServiceProvider; class ServicePr ...ovider extends ModuleServiceProvider { public func ...; } } <?php namespace Acme\MyModule; use Aero\Admin\ResourceLists\O...
API / Price Lists
Create Price List
...f the price list (everyone, not-customers, customers, groups) Yes start_at timest ...ay An array of Entry objects No customer_groups array An array of Customer Group objects (only required ...y for the price (e.g., GBP) Yes Customer Group Name Type Description R...
API / Price Lists
Update Price List
...f the price list (everyone, not-customers, customers, groups) No start_at timesta ...The end at of the price list No customer_groups array An array of Customer Group objects (only required ...when  applies_to = "groups") No Customer Group Name Type Description R...
Developer Documentation / Admin Product Picker Component
What are the available props for the product picker?
...set by default to use {{ asset('modules/aerocommerce/admin/no-image.sv ... <a href="{{ route('admin.modules') }}" class="btn">@include('ad ...a> <span class="ml-4">My Module</span> </h2> <div class="card"> <product-picker v-slot="...
Developer Documentation / Account Area
How do I extend a form in the account area?
...nded using a pipeline from your modules service providers setup method ...he form. <?php namespace Acme\MyModule; use Aero\AccountArea\Http\Form ...Form; use Aero\Common\Providers\ModuleServiceProvider; class ServicePr ...ovider extends ModuleServiceProvider { public func...
Catalog Management / Products
How do I create a single product?
...e- this is the normal price the customer will pay for the item. - Redu ...ell as your Aero store. - Allow customers to purchase this product whe ...ck- Ticking this box will allow customers to purchase this item even w ... traded products. It is used by customs authorities around the world t...
Developer Documentation / Introduction
Introduction to events for developers
...Events; use Aero\Account\Models\Customer; use Aero\Events\ManagedEvent ...; class CustomerUpdated extends ManagedEvent { ... public $customer; public $customerName; public $customerEmail; public static $vari ...ables = [ 'customer', 'customerName', ...
Events / General
What are the available events?
...erEvent - ↳  \Aero\Admin\Events\CustomerFacingOrderCommentAdded Yes ↳  ...tached Yes ↳  \Aero\Cart\Events\CustomerAssignedToOrder Yes ↳  \Aero\C ...illmentDispatchConfirmation Yes Customer Events Class Mail Notificatio ...s? \Aero\Account\Events\AbstractCustomerEvent - ↳  CustomerLocked Yes ...
Discount Management / Discounts
How can I apply multiple discount types using one code?
There are two  aerocargo modules that can be used to achieve th ... aerocargo/discount-groups This module allows you to create a discount ...ocargo/connected-discounts This module allows you to connect a discount to another one via the discount edit page. Then...
Developer Documentation / General
How do I add a route to the CSRF exception list?
...nsarray. <?php namespace Acme\MyModule; use Aero\Common\Providers\ModuleServiceProvider; use Aero\Store\ ...; class ServiceProvider extends ModuleServiceProvider { public func ...eptionsarray where you can list routes for the exceptions list. You ca...
API / Orders
Create Order Endpoint
...tus with the specified state No customer_id int The id of the customer that placed the order No emai ...l string The email of the customer that placed the order No subt ... string The comment message Yes customer_facing boolean Whether the co ...mment is customer facing (default:  false) No c...
Developer Documentation / Admin Product Picker Component
What are the available events for the product picker?
... displays them in a list with a custom message. It also allows the use ... <a href="{{ route('admin.modules') }}" class="btn">@include('ad ...a> <span class="ml-4">My Module</span> </h2> <div class="card p-0"> <table> <...