157 results
for “custom module routes”
Sorted by relevance
Developer Documentation / Module Development
How do I setup routes for my custom module?
...o create and properly configure module routing.
Creating routes
The first step to creating module routes is to create a directory named routeson the same level as the srcdire ...ormation refer to "Anatomy of a custom module.phpfile in the routesdir...
Developer Documentation / Module Development
How do I create a custom module?
...admin, especially when making a custom module, it is important to require
ae ...rocommerce/adminin the modules’
composer.jsonfile.
Scaffoldi ...ng modules
Modules can be created using artisan, ...The easiest way to create a new module is to open the terminal, naviga...
Developer Documentation / Module Development
Anatomy of a custom module
└─ module
└─ database
└ ...ect directoryafter installing a module detects migrations from all modules installed on Aero, which have ...ithin the public directory of a module can be published, to then be ac ...cessed anywhere in Aero. Some modules might require the public folde...
Developer Documentation / Extending Core Functionality
How do I add a custom price to a product with a module?
...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 (link).
Adding the Prices ...will add a
$pricesarray to our module service provider that will be t ...e) keys.
<?php
namespace Acme\MyModule;
use Aero\Common\Providers\Modu...
Developer Documentation / Module Development
How do I register a custom Vue component for my module
...egister a Vue component for our module, we will need to create a JavaS ...e need to add a function to the module Service Provider. This is the c ... return [
'vendor/module-name' => __DIR__ . '/../public' ...mponents/NewComponent
window.newModule = {
install(Vue) {
...
Developer Documentation / Admin Product Picker Component
How do I use the product picker in my custom module?
...ce Lists and Create Order form. Modules such as aerocargo/upsellsalso ...m any admin view inside of your module that extends the official admin ... <a href="{{ route('admin.modules') }}" class="btn">@include('ad ...a>
<span class="ml-4">My Module</span>
</h2>
<div class="...
Developer Documentation / Extending Core Functionality
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 (link).
Adding the Databas ...e and load them from within the modules service provider.
<?php
use Il ... views we will load them in the module service provider using the
$th...
Developer Documentation / Extending Core Functionality
How to add a custom field to the address forms?
...der Code
<?php
namespace Acme\MyModule;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr ...ovider extends ModuleServiceProvider
{
public func ...der Code
<?php
namespace Acme\MyModule;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr...
Developer Documentation / Admin Vue
How do I add custom clips to the redactor editor
...the clip. This can be done in a module service providers setupmethod o ...viders bootmethod. If you use a module service provider, do not forget ... register your views under your modules namespace using the $this->loa ...mmethod.
<?php
namespace Acme\MyModule;
use Aero\Admin\AdminSlot;
use ...
Developer Documentation / Account Area
How do I create a custom page in the account area?
To create and register a custom account area page you need to u ...reaPage.
<?php
namespace Acme\MyModule;
use Acme\MyModule\AccountArea\Pages\CustomPage;
use Aero\AccountArea\Accou ...Area;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr...
Developer Documentation / Admin Vue
How do I add a custom Vue component to the admin?
...the
assetLinksfunction to your modules service provider so that your modules assets are publicly linkable. ...An example module service provider can be found h ...), you need to ensure that your module's components javascript file is ...e the javascript file from your module and then register the component...
Developer Documentation / Admin Transformers
How do I add custom data to a transformer?
To add custom data you need to use the static ...n use.
This code example adds a customFieldthat will have the value of ...ge directly in Vue like product.customField. It’s important to note th ...is used.
<?php
namespace Acme\MyModule;
use Aero\Admin\Transformers\Pr...
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...
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...