262 results
Sorted by relevance
Order Management / Shipping
How do I set a custom order validator for shipping methods?
Shipping methods can define an order validator to determine whether they are available for a particular order.
For example, you may only want to offer some shipping methods on certain days.
First we will define an availability setting for each day:
$days = col...
Order Management / Shipping
How do I set a custom order validator for shipping rates?
Shipping rates can define an order validator to determine whether they are available for a particular order.
For example, you may only want to offer a shipping rate only for certain customer groups.
First, define an availability setting to allow this:
\Aero\Ca...
Order Management / Shipping
How do I set a custom order validator for shipping rates (for subscriptions)?
Shipping rates can define a subscription order validator to determine whether they are available for a particular subscription order.
For example, you may want to make a shipping rate available for one-time orders but explicitly opt it into subscription order...
Order Management / Shipping
How do I set a custom price totalizer for shipping rates?
Shipping rates can define a custom price totalizer to adjust the calculated shipping price before it is returned to the customer.
For example, you may want to add a fixed cost for each item in the order.
First, define the cost per item on the shipping method:
...
Order Management / Shipping
How do I set a custom applicable items filter for shipping rates?
Shipping rates can define a custom-applicable items filter to control which order items are considered when determining whether a rate is applicable.
For example, you may want to restrict a shipping method to products from specific manufacturers.
First, define...
Order Management / Shipping
How do I set a custom item weight totalizer for shipping rates?
Shipping rates can define a custom item weight totalizer to control how item weights are calculated when determining whether a rate is applicable.
For example, you may want certain product variants to be exempt from the shipping weight calculation.
First, ad...
Order Management / Shipping
How do I set a custom item volume totalizer for shipping rates?
Shipping rates can define a custom item volume totalizer to control how item volumes are calculated when determining whether a rate is applicable.
For example, you may want to account for additional packaging space by applying a percentage allowance to the vol...
Order Management / Shipping
How do I set a custom item quantity totalizer for shipping rates?
Shipping rates can define a custom item quantity totalizer to control how item quantities are calculated when determining whether a rate is applicable.
For example, you may want sample products to be excluded from the item quantity used when evaluating quantit...
Order Management / Shipping
How do I set a custom item price totalizer for shipping rates?
Shipping rates can define a custom item price totalizer to control how the total item price is calculated when determining whether a rate is applicable.
For example, you may want to calculate the shipping rate's price threshold using the original item prices r...
Order Management / Orders
How do I block orders?
Orders can be blocked by adding a blocker when some condition is met.
For example, you can prevent potentially fraudulent orders from proceeding to payment by checking the order's email domain and IP address against configured blocked values.
First, define som...
Order Management / Orders
How do I unblock orders?
You can remove an existing blocker from an order using the
unsetBlocker method.
For example, you can make it so some customer groups are exempt from being blocked
\Aero\Common\Facades\Settings::group('checkout', static function (\Aero\Common\Settings\SettingG...
Order Management / Orders
How do I customize the order reference?
The order reference generator can be customized to control the format of order references that are generated when an order is created.
For example, to use the order reference prefix followed by the order ID:
\Aero\Cart\Models\Order::setReferenceGenerator(funct...
Admin / Slots
What are the available admin slots?
Layout Slots
styles
banners
app
script
Login Slots
login.header
login.form
login.footer
Sidebar Slots
sidebar.menu
sidebar.before
sidebar.after
Order Management Slots
Orders
orders.index.headers.buttons
orders.order.view.header.buttons
orders.order.view.cards....
Checkout / Slots
What are the available checkout slots?
Item Slots
item.info
Account Area / Slots
What are the available account area slots?
Navbar
navbar.info
Addresses
addresses.address.card.footer
Orders
orders.order.card.dispatched
orders.order.card.not-dispatched
order.header.buttons
orders.order.card.header
orders.order.card.footer
Subscriptions
subscriptions.subscription.card.header
subscrip...
Admin / Slots
How do I inject into admin slots?
Admin Slots allow you to add content within existing admin pages. The examples below show how to inject a view into the product edit page.
For a simple use case, simply provide a view:
\Aero\Admin\AdminSlot::inject('catalog.product.edit.cards', 'acme::products...
Checkout / Slots
How do I inject into checkout slots?
Checkout Slots allow you to add content within existing admin pages. The examples below show how to inject a view into the cart item list.
For a simple use case, simply provide a view:
\Aero\Checkout\CheckoutSlot::inject('item.info', 'acme::cart-item');
For mo...
Account Area / Slots
How do I inject into account area slots?
Account Area Slots allow you to add content within existing account area pages. The examples below show how to inject a view into the orders page.
For a simple use case, simply provide a view:
\Aero\AccountArea\AccountAreaSlot::inject('order.header.buttons', '...