Can A Price Property Be Used To A SearchInterface

(Doc ID 2361347.1)

Last updated on FEBRUARY 14, 2018

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

 A SearchInterface includes a list of properties that will be queried when an end-user submits a search on the Storefront (example. product.description, product.displayName). Hence, would like to provide the ability for end-users to search on a price. 

 

{
    "ecr:lastModifiedBy": "admin",
    "ecr:lastModified": "2017-02-12T20:14:52.636-07:00",
    "ecr:createDate": "2017-02-12T20:14:52.636-07:00",
    "ecr:type": "search-interface",
    "crossFieldMatch": "always",
    "fields": [
        {"attribute": "product.displayName"},
        {"attribute": "sku.displayName"},
        {"attribute": "parentCategory.displayName"},
        {"attribute": "product.keywords"},
        {"attribute": "sku.onSale"},
        {"attribute": "sku.listPrice"},
        {"attribute": "sku.bundleLinks.description"},
        {"attribute": "sku.bundleLinks.displayName"},
        {"attribute": "sku.configurableProperties.displayName"},
        {"attribute": "sku.configurableProperties.configurationOptions.displayName"},
        {"attribute": "parentCategory.keywords"},
        {"attribute": "product.category"},
        {"attribute": "sku.description"},
        {"attribute": "sku.configurableProperties.description"},
        {"attribute": "product.description"},
        {"attribute": "product.longDescription"},
        {"attribute": "sku.configurableProperties.configurationOptions.description"},
        {"attribute": "ecr:crossField"}
    ]
}

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms