258 results
for “custom module routes”
Sorted by relevance
Storefront Developer Documentation / Themes
How do I use a custom Vue component in the storefront?
... the assetLinksfunction to your modules service provider so that your modules assets are publicly linkable. ...facade importmethod. An example module service provider can be found h ...is you will be able to use your custom Vue components as described bel...
Developer Documentation / Admin Dashboard Lenses
How do I add a custom dashboard lens to the dashboard?
To add your custom dashboard lens to the dashboard ...s class.
<?php
namespace Acme\MyModule;
use Aero\Admin\Facades\Admin;
...Lens;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr ...ovider extends ModuleServiceProvider
{
public func...
Developer Documentation / Listings And Search
How do I create a custom sort order for the listings pages?
...erns\CanBeSortedtrait.
To add a custom sort to the listings page you t ...ge url):
<?php
namespace Acme\MyModule;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr ...ovider extends ModuleServiceProvider
{
public func ...command.
<?php
namespace Acme\MyModule;
use Aero\Common\Providers\Modu...
Storefront / Vue
How do I use a custom vue component in the storefront?
...he
assetLinks function to your modules service provider so that your modules assets are publicly linkable. ...An example module service provider can be found h ...nts\Facades\Component::import('/modules/aerocargo/acme/components.js') ...by the
aerocommerce/components module.
Once you’ve got your files set...
API / Customers
Create Customer Endpoint
Structure
Customer
Name
Type
Description
Require ...d
id
int
The id for the customer
No
name
string
The name of th ...e customer
Yes
email
string
The email of ... the customer
Yes
password
string
The plain ...-text password of the customer
Conditional
*
password_hash
...
Developer Documentation / Account Area
How do I create a custom set in the account area?
...uests. To create and register a custom account area set you need to us ...AreaSet.
<?php
namespace Acme\MyModule;
use Acme\MyModule\AccountArea\Pages\CustomSet;
use Aero\AccountArea\Accoun ...Area;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr...
Developer Documentation / Settings
How do I register custom settings?
...de from the setupmethod of your modules service provider. You should c ...s 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...
Developer Documentation / Resource Lists
How do I create a custom bulk action?
...rvice Provider, whether it is a module service provider or the AppServ ...e to be more useful for certain modules. In order to display its conte ...n in order to replace it with a custom button, for example calling the ...r selection.
Title
We can set a custom title/main heading for the bulk...
Developer Documentation / Admin Reports
How do I create a custom report?
To create and register a custom report you need to use the Aero ...ervice providers boot method or module service providers setup method. ... report.
<?php
namespace Acme\MyModule;
use Acme\MyModule\Reports\OrdersReport;
use Aero\ ...port;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr...
General / Commands
What are the available commands?
php artisan make:module
This command scaffolds a module for you (you need to provide a ...valid name for the module such as
aerocargo/my-module). This involves setting up comp ...ser and publishing some default module stubs.
php artisan aero:configu...
API / Customers
Update Customer Endpoint
Structure
Customer
Name
Type
Description
Require ...d
id
int
The id for the customer
No
name
string
The name of th ...e customer
No
email
string
The email of ...the customer
No
group
string
The group nam ...e of the customer
No
tax_group
string
The tax g...
Storefront Developer Documentation / Themes
How do I create a custom twig function?
Aero can extend Twig to add custom functions that can then be used ...hroughout the shop. To create a custom twig function, we have to acces ... Service Providerbelonging to a module.
In order to create a custom twig function, we have to add the following piec...
Developer Documentation / Settings
Do do I set the default value of my custom setting?
...t value.
<?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 / Validation
How do I create custom validation requests?
To create a custom validation request, we need to ... aerocommerce/core.
To create a custom request, open the terminal in t ...ave to do this manually. To add custom messages for our validation err ...erated stub
}
If we wish to set custom validation messages
public func...
Discount Management / Price Lists
How do I resolve custom price lists?
To resolve custom price lists you can create a customer group in the Admin and create ...sts that are only available for customers in that group.
First, create ... a setting for this customer group so that you can easily ...$group) {
$group->eloquent('customer_group', \Aero\Account\Models\...
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...