Setup

To use the Recommendations API, install the @wix/ecom package using npm or Yarn:

Copy
npm install @wix/ecom

or

Copy
yarn add @wix/ecom

Then import { recommendations } from @wix/ecom:

Copy
import { recommendations } from "@wix/ecom";
Did this help?