Skip to main content
263 results for “custom module routes”
Sorted by relevance
API / Variants
Update Variant Endpoint
...HS (Harmonized System) code for customs No origin_country string ISO c ...string Description of goods for customs No attributes array An array of Attribute objects Yes tags array An array of Tag objects No images array An array of Image objects No cost obj...
Storefront Developer Documentation / Blocks
How do I display content blocks on the storefront?
... are creating your own theme or custom storefront, you must ensure these files are present in order for the content blocks to display correctly. └─ resources └─ views └─ blocks └─ html.twig └─ image.twig └─ l...
Storefront Developer Documentation / Themes
How do I convert a listings page into a landing page?
...reference block_groupto create custom blocks: In this simple example, we load the listing page with a loop of blocks set by our block_group example.promos, followed by a loop of our listing-cards. {% layout "main" %} {% set variables = { categories: ...
Developer Documentation / Admin Filters
What is an admin filter?
... This is a public method that returns the key for the filter. The key is used for the request parameter for the filter. By default the key is generated from the class name. You can read about the other methods in the "How do I create a custom Admin Filter?
Admin / Slots
How do I inject into admin slots?
... \Aero\Admin\AdminSlot::inject('catalog.product.edit.cards', function ($data) { // add custom variables to the $data array return view('acme::products', $data); }); These injections should typically sit inside the  boot method of a Service Provider
Account Area / Slots
How do I inject into account area slots?
...ro\AccountArea\AccountAreaSlot::inject('order.header.buttons', function ($data) { // add custom variables to the $data array return view('acme::button', $data); }); These injections should typically sit inside the  boot method of a Service Provider
Checkout / Slots
How do I inject into checkout slots?
... function: \Aero\Checkout\CheckoutSlot::inject('item.info', function ($data) { // add custom variables to the $data array return view('acme::cart-item', $data); }); These injections should typically sit inside the  boot method of a Service Provider
Storefront / Blocks
How do I display content blocks on the storefront?
... are creating your own theme or custom storefront, you must ensure these files are present in order for the content blocks to display correctly: └─ resources └─ views └─ blocks └─ html.twig └─ image.twig └─ l...
Order Management / Orders
How do I block orders?
...e can then be extended to set a custom view to display the blocker reason: \Aero\Checkout\Http\Responses\CheckoutPaymentPage::extend(function (\Aero\Checkout\Http\Responses\CheckoutPaymentPage $page, \Closure $next) { $blocker = $page->cart->order()->g...
Order Management / Orders
What is the order item builder?
...tem. For example, you can add a custom attribute to the order item: \Aero\Cart\OrderItemBuilder::extend(function (\Aero\Cart\OrderItemBuilder $builder, \Closure $next) { $cartItem = $builder->item(); $builder->setAttributes([ 'acme' => $car...
SEO / General
How do I add SEO Metadata to a page?
...ts directive. setRobotContent(?string $content) Sets custom robots meta content. setNext(LengthAwarePaginator $listings) Sets the next-page URL for paginated content. setPrev(LengthAwarePaginator $listings) Sets the previous-page URL for paginated content.
Settings / General
What setting types are available?
...p', ]); // Custom structure (each definition has ...tiple $group->eloquent('vip_customer_groups', \Aero\Account\Models ...\CustomerGroup::class)->multiple(); }); Encrypted Setting Encrypted settings store encrypted string values a...
Catalog Management / Manufacturers
What is a manufacturer?
... to multiple products. This will create a specific manufacturer page within your store, allowing your customer to browse their favourite brand. Using manufacturers also removes duplication by allowing you to store manufacture information in a single place.
Catalog Management / Products
How do I update the pricing of my product?
...e- this is the normal price the customer will pay for the item. - Reduced price- this is the sale price of the item. - RRP- this is the recommended retail price. - Cost price- this is the cost of the item to your business. - Tax group- this allows you to c...
Developer Documentation / General
What queues does Aero use?
...order created event handlers to customer created event handlers. Aero uses four queues so that you can have different workers completing different tasks without a risk of locks or jobs being handled more than once. It’s important to note that some queues s...
Developer Documentation / Introduction
Introduction to collections for developers
...sually would be modified by the customer where products are listed. These include: Collection rules Which tags to filter by - Which manufacturer to filter by - Which price range to filter by (from-to) - Which price status to filter by (e.g. Reduced price i...
Developer Documentation / Listings And Search
How do I filter listings?
...tion rather than applied by the customer. Below is an example that extends the Elasticsearch listings query to scope the results to only those that have stock: \Aero\Search\Elastic\Repositories\ElasticListings::extend(function ($listings) { $filter = n...
Developer Documentation / Payment Drivers
What are operating modes in my payment driver?
...ng environment differs when the customer isn't present (i.e. no 3D-secure for telephone orders), stores may require different merchant credentials for each mode. ECOM mode In order to indicate the gateway supports processing storefront orders, ensure the ...