Advanced Search
Search Results
418 total results found
Storefront Developer Documentation
Storefront Developer Documentation
Blocks
Blocks
How do I display content blocks on the storefront?
The structure of the views for the block items is shown below. If you 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 ...
How do I add additional information to block items?
In some cases, more data is needed than the default values provided on each block item. For example, a promotional image may require a call-to-action link, or a sale link in the header navigation needs a custom class to turn the text red. These features are po...
Breadcrumb
Breadcrumb
How do I access the breadcrumb?
To access the breadcrumb on the storefront, use the breadcrumb()function inside Twig files: <ul class="breabcrumb"> {% for crumb in breadcrumb() %} <li class="crumb"> {% if loop.last %} <span>{{ crumb.name }}</span> ...
How do I manipulate the breadcrumb?
The breadcrumb can be manipulated from within a PHP file. Typically, this will either be on an existing Aero route such as the homepage or product page, or a new route that is custom to the project or module. Adding to the breadcrumb To add crumbs to the bread...
Checkout
Checkout
How do I add a Custom CSS File to the Checkout?
You can add a custom CSS file to the checkout by creating a checkout.cssfile in your public directory. Example contents where we are changing the to use a black background: .header { background-color:#000000; } .header__progress li:before { background...
How do I change the logo in the checkout?
You can change the logo in the checkout by creating this file: resources/vendor/checkout/sections/logo.twigand putting your logo contents inside of it. Example contents: <a href="{{ route('home') }}" title="{{ trans("checkout::general.return_to_store_link") }...
How do I add a marketing opt-in to the checkout?
This article covers how to insert a checkbox into the checkout flow, that when ticked, will allow you to send information to a third party system. In order to add a marketing optionally opt-in to the checkout we first need to extend the CheckoutCustomerPageto...
Currencies
Currencies
How do I change the store currency?
In order to change the store currency, publish the store configuration file: php artisan vendor:publish --tag aero::store-config Locate the configurations section of the published config/aero/store.php file and update the currency_code value of the active stor...
What is a fascia currency and how do I use it?
A fascia currency can be set to render a different currency to the one specified in the store configuration. Setting the fascia currency The easiest way to check for and apply the fascia currency is through storemiddleware. The example snippet below details h...
Image Factory
Image Factory
How do I use Image Factory?
The image factory can be called using the image_factory()helper function from within PHP (.php and .blade.php) and Twig (.twig) files. When initializing an instance, the width and height of the resized image must be provided (in pixels). The image factory out...
What are the available options for Image factory?
There are several options that can be used to manipulate the image. These can be chained. path - webp - retina - dpr - flip - contain - crop - upscale - rotate - sharpen - pixelate - quality - invert - greyscale - placeholder - options path($path) The pathopt...
Introduction
Introduction