263 results
for “custom module routes”
Sorted by relevance
Admin / Slots
What are the available admin slots?
...
orders.order.new.extra.sidebar.customer-information
orders.order.new. ...s
catalog.collection.edit.cards
Customer Management Slots
Customers
customers.index.header.buttons
customer.new.cards
customer.edit.cards
Customer Groups
customers.groups.index...
Developer Documentation / Configuration
How do I check for permissions?
...ample, checking a user has the
custom.viewor
custom.managepermissions.
Guarding con ...tent in a Blade file:
@can('custom.view')
...
@endcan
@canany( ...['orders', 'custom'])
...
@endcan
Checking the ...ss an endpoint:
Route::get('/my-module', [MyModuleController::class, '...
Storefront Developer Documentation / Themes
How do I install a theme?
... require a couple of additional modules to add extra functionality whi ...tall next.
Install the required modules
Our themes make use of the lis ...ng collections and account area modules to further enhance both the ad ...e installed all of the required modules we can move on to;
What are th...
Order Management / Orders
How do I create a new order in the admin?
... admin, this can be useful if a customer places an order over the tele ...der details page just without a customer or any products.
How do I add ...ts to the order.
How do I add a customer to the order?
Now we’ve added ... onto selecting or creating the customer that this order is for.
The f...
Blueprint / Schema
How do I change where the schema is loaded from?
...ion () {
$path = base_path("modules/aerocargo/acme/schema.json");
...rsion) {
$path = base_path("modules/aerocargo/acme/temp/versions/{ ...rsion) {
$path = base_path("modules/aerocargo/acme/versions/{$vers ...]);
});
Saving Active Schema to Custom Location
setActiveSchemaPathRes...
Admin / Product Picker
How do I use the product picker?
...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=" ...earch-term
?string
null
No
show-customer-price
bool
false
No
show-cost...
Admin / Permissions
How do I check for permissions?
..., 'acme.edit'])
...
@endcan
Routes
Route::get('/acme', [AcmeContro ...ss, 'index'])
->name('admin.modules.acme')
->middleware('can:acme.view');
Controllers
if ($this->can('acme.view')) {
// ...
}
if ($this->canAny(['acme.add', 'acme.edit'])...
Developer Documentation / Response Builders
How do I extend responses?
... 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 send a variable footo ...class should be extended in the module's Service Provideras shown belo...
Catalog Management / Products
How do I create a product with variants?
... your chosen attribute group. - Custom sort- checking this box will al ...e varients are displayed to the customer. When this box is checked you ...e- this is the normal price the customer will pay for the item. - Redu ...name- this is used to provide a custom name for this variant that is d...
Developer Documentation / Settings
How do I handle translations?
...lations.
<?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...
API / Orders
View Order Endpoint
...us of the order (
null if none)
customer
object
The Customer of the order (
null if none)
...email
string
The email of the customer that placed the order
subtota ...d, partially_returned, returned
Customer
Name
Type
Description
id
int
...The id of the customer
name
string
The name of the c...
Developer Documentation / Admin Slots
What are the available backend admin slots?
...order.view.cards.extra.bottom-
customer.new.header.buttons-
customer.new.cards-
customer.edit.header.buttons-
customer.edit.cards-
customer.edit.extra.bottom-
customer.edit.extra.sidebar-
catalog. ...edirects.index.header.buttons-
customers.groups.index.header.buttons-...
Developer Documentation / Admin Reports
How do I extend existing reports?
...nded using a pipeline from your modules service providers setup method ... report.
<?php
namespace Acme\MyModule;
use Aero\Admin\Reports\Impleme ...port;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr ...ovider extends ModuleServiceProvider
{
public func...
API / General
What are the available endpoints?
...llection
name in place of
id.
Customers
Method
Endpoint
Permission
D ...escription
GET
/api/customers
customers.index
List customers
GET
/api/customers/{id}
customers.view
Get a customer
POST
/api/customers
customers.store
Create a customer
PUT
...
Developer Documentation / Admin Slots
How do I inject a view into a backend admin slot?
... is to be included as part of a module, then it can be added in the se ...tup method of the module's ServiceProvider.
When registe ...example:
<?php
namespace Acme\MyModule;
use Aero\Admin\AdminSlot;
use ...Aero\Common\Providers\ModuleServiceProvider;
class ServicePr...
Developer Documentation / Account Area
How do I extend a page or set in the account area?
...he page.
<?php
namespace Acme\MyModule;
use Aero\AccountArea\Http\Resp ...Page;
use Aero\Common\Providers\ModuleServiceProvider;
class ServicePr ...ovider extends ModuleServiceProvider
{
public func ...;
}
}
<?php
namespace Acme\MyModule;
use Aero\AccountArea\Http\Resp...
Developer Documentation / Google Shopping Feed
How do I configure the Google Shopping feed?
...s table we can:
Navigate to the modules’ section in the admin and gene ...rate taxonomies through the modules’ interface 2. Run a command fr ... Setting the value in the admin modules’ section under Configuration i ...n the Google Shopping module.
Query parameters
Query paramet...
Developer Documentation / 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 ServiceProvideras shown below...