Chapter · 17 pages
Themes
Pages in this chapter
How do I add featured products to the homepage of my store?
Listing collections can be used to group products together and display them on specified pages.
I...
PAGE
How do I add a contact form to my storefront?
Introduction
Forms Location
your_theme_name>resources>views>forms
Any files created inside this d...
PAGE
How do I convert a listings page into a landing page?
Update AppServiceProvider
Add the following namespaces:
use Aero\Catalog\Models\Category;
use Aer...
PAGE
How to add a header image to your listings page
On a listings page we can pass through an image from the admin using the
combinationvariable in ...
PAGE
How to add sashes to your listing card / product page
There are several ways to achieve this feature. We'll highlight a few below.
Method 1: Using tags...
PAGE
Anatomy of a theme
└─ layout
└─ page
└─ section
└─ snippet
└─ element
└─ element
└─ ...
PAGE
How do I create a custom twig function?
Aero can extend Twig to add custom functions that can then be used throughout the shop. To create...
PAGE
How do I install a theme?
Install the Aero Theme components
To install a theme we must first install our theme UI package t...
PAGE
How do I create a custom theme?
If you've created a custom .yml config file you can build a theme by referencing it as the --conf...
PAGE
How do I compile my theme styles?
To compile the styles of your theme you first need to change directory in terminal to your theme ...
PAGE
What are the themes available?
We have a number of official themes available. These themes are designed to be used as a starting...
PAGE
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 discoun...
PAGE
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) a...
PAGE
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 produ...
PAGE
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
prod...
PAGE
How do I give split listings names generated from their attributes?
This code example extends the
Aero\Search\Elastic\Documents\ListingDocumentdocument to generate ...
PAGE
Listing items per page
Update AppServiceProvider
app>Providers>AppServiceProvider.php
Add the following namespaces:
use ...
PAGE