Skip to main content
263 results for “custom module routes”
Sorted by relevance
Developer Documentation / Events
How do I add a custom event to a Service Provider?
...g in your application. Adding a custom event to a ServiceProvidermeans ...breaks down into two options: a Module ServiceProvider, or any of the Providers listed under app/Providersof our shop’s root directory. Event directory: app/Events Listener directory...
Developer Documentation / Listings And Search
How do I add custom facets to listing and search?
... navigation in eCommerce allows customers the ability to refine down a ...eror the **setup()**method of a module ServiceProvider. \Aero\Search\FacetSettings::registerFacet('stock', 'Stock Status'); The document structure can then be extended to add the fac...
Developer Documentation / Validation
How do I set a custom order validator for shipping methods?
...e shipping rates (you can set a custom order validator for shipping ra ... Monday. <?php namespace Acme\MyModule; use Aero\Cart\Models\Order; us ...thod; use Aero\Common\Providers\ModuleServiceProvider; use Carbon\Carb ...; class ServiceProvider extends ModuleServiceProvider { public func...
Developer Documentation / Validation
How do I use a custom total item price totalizer for a shipping rate?
Setting a custom item price totalizer allows you ...r items. <?php namespace Acme\MyModule; use Aero\Cart\Models\OrderItem ...Rate; use Aero\Common\Providers\ModuleServiceProvider; use Illuminate\ ...; class ServiceProvider extends ModuleServiceProvider { public func...
Developer Documentation / Validation
How do I use a custom total item weight totalizer for a shipping rate?
Setting a custom item weight totalizer allows yo ...r items. <?php namespace Acme\MyModule; use Aero\Cart\Models\OrderItem ...Rate; use Aero\Common\Providers\ModuleServiceProvider; use Illuminate\ ...; class ServiceProvider extends ModuleServiceProvider { public func...
Developer Documentation / Resource Lists
How do I add a custom column to the product list?
...s a resource list you can add a custom column like this: More informat ...ce List? <?php namespace Acme\MyModule; use Aero\Admin\ResourceLists\P ...List; use Aero\Common\Providers\ModuleServiceProvider; class ServicePr ...ovider extends ModuleServiceProvider { public func...
Developer Documentation / Resource Lists
How do I add a custom column to the order list?
...s a resource list you can add a custom column like this: More informat ...ce List? <?php namespace Acme\MyModule; use Aero\Admin\ResourceLists\O ...List; use Aero\Common\Providers\ModuleServiceProvider; class ServicePr ...ovider extends ModuleServiceProvider { public func...
Admin / Tutorials
How do I add a custom field to the new and edit product page?
...utorial assumes that you have a module setup or you’re happy working f ...d). You can see how to set up a module here. 1. Adding the database mi ...iant; use Aero\Common\Providers\ModuleServiceProvider; class ServicePr ...ovider extends ModuleServiceProvider { public fun...
API
Customers
Developer Documentation / Events
How do I make custom mail notification events?
...edEvent. <?php namespace Acme\MyModule\Events; use Aero\Events\Managed ...rovider. <?php namespace Acme\MyModule; use Acme\MyModule\Events\MyEvent; use Aero\Common ...\Providers\ModuleServiceProvider; use Aero\Events ...; class ServiceProvider extends ModuleServiceProvider { protected $...
Developer Documentation / Settings
How do I access a custom setting?
You can access a setting by using the settingfunction that is available in PHP, Blade, and Twig. You simply need to pass your setting group name, a full stop, and then the settings name. setting(‘acme-my-module.allow_list’)
Developer Documentation / Validation
How do I set a custom order validator for shipping rates?
...de runs. <?php namespace Acme\MyModule; use Aero\Cart\Models\Order; us ...Rate; use Aero\Common\Providers\ModuleServiceProvider; use Carbon\Carb ...; class ServiceProvider extends ModuleServiceProvider { public function setup() { ShippingRate:...
API / Customers
Customer Index Endpoint
Structure See View Customer Endpoint for the structure of ... the customer payload inside the data arra ...tion Example emails Only return customers with specific emails ?emails ...ple@gmail.com names Only return customers with specific names ?names=T...
Developer Documentation / Account Area
How do I add a custom CSS file to the account area?
You can add a custom CSS file to the account area by creating a file named account-area.cssin your public directory. Example contents where we're overriding the default colours: :root { --bpa-color-primary: deepskyblue; --bpa-color-success: forestgree...
Developer Documentation / Admin Dashboard Lenses
How do I create a custom dashboard lens?
...e period 1 year ago, or 3 for a custom period. This array has a date key that has the same structure as the second parameter. This array also has a text key that holds text to be displayed to explain the comparison. Here is the code for our top shipping co...
Developer Documentation / Admin Dashboard Lenses
How do I use a custom view for my dashboard lens?
... make your dashboard lens use a custom view. To do this you need to set the protected $viewstring on your lens to the view you would like to use. <?php namespace Aero\Admin\Lenses; use Aero\Admin\AdminLens; use Illuminate\Http\JsonResponse; use Illuminate...
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 executed on every request made to a report or resource list with your filter and accepts 2 para...
Developer Documentation / Admin Reports
How do I add exporters to my custom report?
...xporter. <?php namespace Acme\MyModule\Reports; use Aero\Admin\Reports ...xported. <?php namespace Acme\MyModule\Reports\Exporters; use Aero\Adm ...orter; use Carbon\Carbon; class CustomExporter extends ReportExporter { public function handle($columns, ...