797 results
Sorted by relevance
Admin
Configuration Page
Admin / Configuration Page
How do I extend the configuration page?
The configuration page can be extended to customise existing configuration groups, add new configurations, or register entirely new configuration groups.
Configuration groups and configurations are built using a pipeline, allowing you to modify the default con...
Book
Cart
Cart
Cart Items
Cart / Cart Items
What is the cart item builder?
The cart item builder is run whenever an item is added to the cart. It builds the item from the request data.
For example, you can add a gift wrap option to an item when the variant has gift wrapping enabled.
First, define a setting on the variant to control w...
Order Management / Orders
What is the order item builder?
The order item builder is run whenever a cart item is transformed into an order item. It builds the order item data from the cart item.
For example, you can add a custom attribute to the order item:
\Aero\Cart\OrderItemBuilder::extend(function (\Aero\Cart\Orde...
Admin
Mail Notifications
Admin / Mail Notifications
What is the preview mail action pipeline?
The Preview Mail Action Pipeline is used to build a temporary
\Aero\Events\Models\MailAction instance from request data to be previewed.
For example, you can add custom fields to the
\Aero\Events\Models\MailAction instance:
\Aero\Admin\Pipelines\PreviewMailA...
Book
SEO
SEO / Robots Txt
How do I modify robots.txt?
You can modify the
robots.txt file by extending the
\Aero\Store\Pipelines\RobotsTxt pipeline.
For example, you can prevent search engines from crawling the admin login page:
\Aero\Store\Pipelines\RobotsTxt::extend(function (\Aero\Store\Collections\RobotsTxtC...
Order Management
Subscriptions
Order Management / Subscriptions
What is the subscription order builder?
The Subscription Order Builder runs whenever a subscription is processed and requires a new order. It creates the new order based on the original order associated with the subscription.
For example, you can add a flag to every order created by a subscription.
...
Storefront
Listings Page
Storefront / Listings Page
How do I extend the listings page query?
You can extend the listings page query by extending the
\Aero\Store\Pipelines\ListingsPageQuery pipeline.
For example, you can add functionality to have products that only certain customer groups can view and buy.
First, add a product setting to control this ...
Book
Catalog Management
Catalog Management
Listing Rules
Catalog Management / Listing Rules
What is the listing rules context builder?
The Listing Rules Context Builder is used to build the rule-specific context that listing rules need when being displayed in the Admin UI.
For example, the
\Aero\Admin\Pipelines\Pipes\AttachTaggedWithRuleContext pipe attaches the hydrated tags data for the
\...
Catalog Management / Listing Rules
What is the listing rules data formatter pipeline?
The Listing Rules Data Formatter is used to format the listing rules data into an array for the Admin UI page.
For example, the
\Aero\Admin\Pipelines\Pipes\AttachListingRuleAttributes attaches the attributes to the array:
class AttachListingRuleAttributes
{
...