ChemPal Documentation - v1.12.0
    Preparing search index...

    Type Alias SearchSettings

    Search behavior config: variant grouping and restricted-product filtering.

    type SearchSettings = {
        groupProductVariants?: boolean;
        hideRestrictedProducts?: boolean;
    }
    Index

    Properties

    groupProductVariants?: boolean

    When true (the default), group a product's variants under one results row.

    hideRestrictedProducts?: boolean

    When true (the default), hide products the user cannot buy (shipping or restricted).