Skip to main content
258 results for “custom module routes”
Sorted by relevance
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 ...
Developer Documentation / Payment Drivers
Can I restricting availability of my payment driver?
...teway should be offered for the customer's session, use the availableForCartmethod within the payment driver: public function availableForCart(Cart $cart): bool { $minAmount = setting('my_gateway.min_order_amount'); if ($minAmount !== null) { ...
Developer Documentation / Payment Drivers
How do I return a payment response in my payment driver?
... In order to output this to the customer on the checkout, or telephone operator for MOTO payments, the PaymentResponsecan define a view to output. To do so, pass the view to the setViewmethod. If no view is set, a JSON response will be returned. Passing ...
Developer Documentation / Payment Drivers
How do I register the transaction in my payment driver?
...otal amount to request from the customer's card, along with where to redirect the browser once the transaction has been processed. The registermethod should return a Aero\Payment\Responses\PaymentResponseinstance. public function register() { // make...
Developer Documentation / Payment Drivers
How do I complete the transaction in my payment driver?
...payment gateway has handled the customer inputting their secure details (such as card information), they will most likely be redirected back to the retailer's store. On doing so, the completemethod is called on the payment driver, allowing for the transac...