SingleItem

Search preset for single items
Available options:
- itemId: Item id to get
- variationId: Variation id to get. If not defined, plugin configuration will be considered if main or child variation should be displayed.
- setCategory: Flag indicating if item should be set as current item to be displayed in breadcrumbs

Deprecated!

since 5.0.0 will be deleted in 6.0.0

Namespace

IO\Services\ItemSearch\SearchPresets

Implements
Methods
public static getSearchFactory($options):mixed
Deprecated!

since 5.0.0 will be deleted in 6.0.0

Get the search factory from the preset.

Parameters

Type

Name

Description

array

$options