@nosto/search-js
    Preparing search index...

    Function priceDecorator

    • Exposes currency formatting logic as a SearchProduct decorator Sets priceText and listPriceText fields on product and SKU level Requires price, listPrice and priceCurrencyCode fields to be present

      Parameters

      Returns (hit: SearchProduct) => Result