599 results
for “install a theme”
Sorted by relevance
Developer Documentation / Validation
How do I set a custom order validator for shipping methods?
You can define logic that will be used to confirm if a shipping method is available for a specific order. By default all shipping methods that have available shipping rates (you can set a custom order validator for shipping rates too) for an order are availa...
API / Manufacturers
Create Manufacturer Endpoint
Structure
Manufacturer
Name
Type
Description
Required
id
...int
The id for the manufacturer
No
name
string
The name of the manufacturer
Yes
slug
string
The slug ...of the manufacturer, if not present it is auto-generated from name
No
reference
strin...
Developer Documentation / Php Traits
Aero\\Catalog\\Traits\\Taggable
This trait can be added to a model class. The trait adds the ability to add tags to the model. The trait adds the following methods:
tag Method
This method accepts a Aero\Catalog\Models\Tagand will attach the tag to the model without detaching any other tags.
tags Metho...
Catalog Management / Collections
What is a collection?
Collections are dynamic groupings of products in you ...r storefront. Unlike tags or categories that group based on fixed properties, Collect ...ions allow greater flexibility.
How to define C ...ections
You define Collections based on specific rules. Rules all...
API / Attribute Groups
View Attribute Group Endpoint
Structure
Attribute Group
Name
Type
Description
name
string
The name of the attribute group (e.g., Size or Co ...lour)
display_as
string
The display as of the attribute group (e.g.: dropdown, ...color_swatches, image_swatches, swatches)
reference
strin...
Catalog Management / Tags
How do I create a new tag?
Individual tags are tied to their group, in order ... to create a new tag you must first decide which gr ...oup you want to add this new tag to.
First navigate to the tags listings page and select the group you want to add new tags or create a new tag ...
Content Management / Redirects
What is a redirect?
Within Aero, Redirects allow you to divert traffic from on URLs to another. Aero, including standard redirect codes.
Among other things, this is usefu ...l for handling missing pages.
Redirect Codes
Aero allows you to assign the following standard HTT...
Developer Documentation / Configuration
What is the robots file and how does it differ from normal?
...provides instructions for web crawlers and bots that index your store. Aero automatically registers core parts of the store that should avoid being indexed and visited by bots.
In order to ...extend this file and add modules or store specific res...
Developer Documentation / Validation
How do I set a custom order validator for shipping rates?
You can override the default logic that decides whether a shipping rate is applicable to an order. By default shipping rates are validated against their configuration set in the admin (allowed/disallowed tags, total weight, and total price).
To set the logi...
Content Management / Redirects
How do I create a new redirect?
Redirects are slighly different to how you ...create a new one, when compared with the other elements in t ...e store.
Redirects require only a small amount of information therefor the create form is part of the listing page.
In order to create a new red...
Order Management / Orders
What are orders?
Within Aero when a customer purchases items from your store an order is created. Orders are stored in the system and will start out with the status of “Successful” (providing t ...he payment was successfully taken).
Any fulfillments, returns or refu ...nds actioned on an order will alter t...
Developer Documentation / Configuration
How do I change how order references are generated?
You can set an order reference generator to define how order referenc ...es are generated. To do this you need to use ...the static setReferenceGeneratormethod on the Aero\Cart\Models\Ordermodel.
The method ... accepts a closure that accepts the order ...
Developer Documentation / Response Builders
How do I redirect a response?
Sometimes you may wish to redirect the user to another location, either to an external site or within the store. To d ...o so, pass the URL, route(), or an Illuminate\Http\RedirectResponseinstance to the **setRedirect()**meth ...od. For example, if you stored the age of c...
Developer Documentation / Payment Drivers
How do I cancel a payment in my payment driver?
If capturing of the payment is done at a later stage to the initial authorisation, the payment gateway should support the ability to cancel the transaction. The driver should therefo ...re implement a
cancelmethod.
The
cancelmethod should return a
Aero...
Developer Documentation / Payment Drivers
How do I refund a payment in my payment driver?
If the payment gateway provides the ability to externally make refund requests, the payment driver can use the
Aero\Payment\SupportsRefundingtrait.
The
refundmethod should the ...n be implemented, which returns an instance of
Aero\Payment\Responses\P...
Catalog Management / Products
What are products?
Within Aero, everything you sell is classified as a product.
Aero products contain rich information, creating a compelling user experience, and allowing your customers to make a succesful purchase.
There are two main types of product within Aero:
Single products - Simple pr...
Content Management / Combinations
What are combinations?
Within Aero, Combinations allow you to change the way certain listings pages appear.
When filtered by specified cr ...iteria, your storefront will display distinct Combination pages. These pages will have a specific title, SEO and images.
Combination criteria
...
Storefront Developer Documentation / Themes
How do I give split listings names generated from their attributes?
This code example extends the
Aero\Search\Elastic\Documents\ListingDocumentdo ...cument to generate names for split listings from the attributes that the variant is made up of. You can learn more about extending the listing docum ...ent here
It’s important to note that you need to rein...