Skip to main content
258 results for “custom module routes”
Sorted by relevance
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...
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, ...
Developer Documentation / Admin Reports
How do I add admin filters to my custom report?
... the article "How do I create a custom report? To register your newly ...s array. <?php namespace Acme\MyModule\Reports; use Aero\Admin\Filters\Order\OrderOrderedAtDateAdminFilter; use Aero\Admin\Reports\Report; use Aero\Admin\Reports\Traits\HasFilters; u...
Storefront Developer Documentation / Checkout
How do I add a Custom CSS File to the Checkout?
You can add a custom CSS file to the checkout by creating a checkout.cssfile in your public directory. Example contents where we are changing the to use a black background: .header { background-color:#000000; } .header__progress li:before { background...
Storefront Developer Documentation / Themes
How do I create a custom theme?
If you've created a custom .yml config file you can build ...:build your_theme_name --config=custom.yml Additional information When running the theme build command you will be prompted to run npm run initthis will compile your theme styles upon build and is ...
Developer Documentation / Admin Reports
How do I add lenses to my custom report?
...ur lens. <?php namespace Acme\MyModule\Reports\Lenses; use Aero\Admin\ ...s array. <?php namespace Acme\MyModule\Reports; use Acme\MyModule\Reports\Lenses\TotalOrdersLens; use Aero\Admin\Reports\Report; use Aero\Admin\Reports\Traits\HasLens; use Aero\Cart\...