626 results
for “install a theme”
Sorted by relevance
Developer Documentation / Validation
How do I display validation error messages?
There are multiple ways of displaying your validation errors. From the backend perspective, the request always returns errors to the view if ... validation had not passed.
Alert partial view
Aero has an error partial which automatically displays all the va...
Developer Documentation / Response Builders
How do I extend responses?
Adding additional code to run on the response is ... as simple as calling the **extend()**method on ...the response builder class. This is typically done from within a Service Provider. If the code i ...s unique to a particular store it could be place...
Storefront / Blocks
How do I display content blocks on the storefront?
...ck items is shown below. If you are creating your own theme or custom st ...nt, you must ensure these files are present in order for the cont ...ent blocks to display correctly:
└─ resources
└─ ... └─ html.twig
└─ image.twig
└─ link.twig...
Storefront Developer Documentation / Introduction
What is the storefront?
Your Aero storefront is your customer ...facing front-end.
Storefronts are built using a component based structure. This greatly reduces both your developmen ...t and maintenance effort. Using components allows you to make store-wide changes quickly an...
API / Size Guides
Create Size Guide Endpoint
This endpoint is only available if
aerocargo/size-guides is installed.
Structure
Size Guide
Name
Type
Description
Required
Ver ...e of the size guide
No
>=2.0.0
name
string
The name for the size guide
Yes
>=0.1. ...0
heading
string
The heading of the s...
Developer Documentation / Configuration
How do I store product images on S3
You need to configure and set up your Laravel project for the S3 storage driver. You can read more about this in the laravel documentationAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION, and AWS_BUCKET) and installing a composer package (league/f...
Developer Documentation / Admin Product Picker Component
How do I use the product picker in my custom module?
The Product Picker provides a modal that lets users select a single or many products/variants with quantities. Parts of the admin use this such as the Price Lists and Create Order form. Modules such as aerocargo/upsellsalso make use of the Product Pick...
Developer Documentation / Payment Drivers
How do I complete the transaction in my payment driver?
Once the payment gateway has handled the customer inputting the ...ir secure details (such as card information), they will most likely be ...redirected back to the retailerailer's store. On doing so, the
...completemethod is called on the payment driver, allo...
Storefront Developer Documentation / Breadcrumb
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 mo ...dule.
Adding to the breadcrumb
To add crumbs to the brea...
SEO / Robots Txt
How do I modify robots.txt?
You can modify the
robots.txt file by ... extending the
\Aero\Store\Pipelines\RobotsTxt pi ...peline.
For example, you can prevent search engines from crawling the admin login page:
\Aero\Store\Pipelines\RobotsTxt::e ...xtend(function (\Aero\Store\Collections\RobotsTxtC...
API / Products
Product Search Endpoint
...his endpoint performs product search queries using Elasticsearch. Make sure your product documents are indexed before using this rou ...te:
php artisan aero:search:reindex --type=product
You m ...ust run this command after installing the API.
Str...
API / Size Guides
Update Size Guide Endpoint
This endpoint is only available if
aerocargo/size-guides is installed.
Structure
Size Guide
Name
Type
Description
Required
Ver ...e of the size guide
No
>=2.0.0
name
string
The name for the size guide
No
>=0.1.0 ...
heading
string
The heading of the s...
API / Size Guides
View Size Guide Endpoint
This endpoint is only available if
aerocargo/size-guides is installed.
Structure
Size Guide
Name
Type
Description
Version
id
i ...type of the size guide
>=2.0.0
name
string
The name for the size guide
>=0.1.0
heading
string
The heading of the size guide
>=0.1.0
v...
Developer Documentation / Blocks
How do I export content blocks?
...port content blocks, we require an Aero package. To install this package, type the following command in the project root directory ...:
composer require aerocargo/blocks-import-export
After the package has been installed successfully, we can navigate...
API / Specification Groups
Create Specification Group Endpoint
This endpoint is only available if
aerocargo/specifications is installed.
Structure
Specification Group
Name
Type
Description
Required
Ver ...on
id
int
The id of the specification group
No
>=0.1.0
name
string
The name for the specification group
Yes
>=0.1.0
sort
int
...
General / Services
What is the volume service?
...e volume service is used to normalize volumes into the store's base unit (
cm^3 by default) as well as convert between different unit ...s.
Units
By default the volume service has the following units:
mm^3
cm^3 ...
m^3
Adding a Unit
Use
addUnit() to a...
Developer Documentation / Blocks
How do I import content blocks?
...content blocks, we will require an Aero package. To install this package, type the following command in the project root directory ...:
composer require aerocargo/blocks-import-export
After installing the package, we can navigate to the adminthen Cont...
Developer Documentation / Listings And Search
How do I setup the search index?
Firstly, you should ensure that the Elasticsearch host information is defined in the store's . ...g the service directly on your machine (either natively or through Docker), you'l ...ost likely use the following details:
ELASTICSEARCH_HOST=localhost
ELASTI...