611 results
Sorted by relevance
Storefront Developer Documentation / Themes
What are the themes available?
We have a number of official themes available. These themes are designed to be used as a starting point for your project and have been meticulously crafted with conversion, speed and responsive design at their core.
Our official themes are built using Tailwind...
Storefront Developer Documentation / Themes
How do I display the prices from my price list?
You can display what the sales price was before the price list was applied, how much of a discount the customer is getting, and whether the price they’re seeing is specifically for them (such as a price caused by them being in a specific customer group).
Listi...
Storefront Developer Documentation / Themes
How do I use a custom Vue component in the storefront?
This repo (https://github.com/aerocargo/example-vue
You need to make your component .vuefile(s) and your main .jsfile that will register all of the components. An example javascript structure can be found here in the repo (https://github.com/aerocargo/example-...
Storefront Developer Documentation / Themes
How to Implement Subscriptions on the Product Page
To implement subscriptions on your product page you’ll need to add some code to your themes product.twigfile that allows customers to see the available subscription plans and select the one they want.
The code snippet below provides radio options that will all...
Storefront Developer Documentation / Themes
How do I implement subscriptions on the product page?
To implement subscriptions on your product page you’ll need to add some code to your themes
product.twigfile that allows customers to see the available subscription plans and select the one they want.
The code snippet below provides radio options that will al...
Storefront Developer Documentation / Themes
How do I give split listings names generated from their attributes?
This code example extends the
Aero\Search\Elastic\Documents\ListingDocumentdocument to generate names for split listings from the attributes that the variant is made up of. You can learn more about extending the listing document here
It’s important to note th...
Storefront Developer Documentation / Themes
Listing items per page
Update AppServiceProvider
app>Providers>AppServiceProvider.php
Add the following namespaces:
use Aero\Store\Http\Responses\ListingsJson;
use Aero\Store\Http\Responses\ListingsPage;
use Aero\Store\Http\Responses\SearchJson;
use Aero\Store\Http\Responses\SearchP...
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...