Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Conversation

@gibkigonzo
Copy link
Contributor

Close: vuestorefront/vue-storefront#3942

Description:
This module search for record in multiple entities based on url value.

Config:

"includeFields": ["url_path", "identifier", "id", "slug", "sku", "type_id"],

// Here we can define base fields that we want to fetch if there is record in ES.
// Those fields are needed to build proper url object on frontend side.
// But you can also send in body fields that you want.
// Example: {"url": "about-us", "includeFields": ["content"]}
"searchedFields": ["url_path", "identifier"],
// Here we can define which field value equals to url value.
// By default we search "url_path" for product/category and "identifier" for cms_page
"searchedEntities": ["product", "category", "cms_page"]
// Here we have list of searched entities

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants