Files
medusa-store/packages/medusa-plugin-wishlist/README.md
2023-03-31 13:09:57 +02:00

902 B

Wishlist

Add wishlist capabilities to your commerce application.

Medusa Website | Medusa Repository

Features

  • Allow customers to manage items in their wishlist.

Prerequisites


How to Install

1. Run the following command in the directory of the Medusa backend:

npm install medusa-plugin-wishlist

2. In medusa-config.js add the following at the end of the plugins array:

const plugins = [
  // ...
  `medusa-plugin-wishlist`
]

Test the Plugin

1. Run the following command in the directory of the Medusa backend to run the backend:

npm run start

2. Retrieve a customer's wishlist using the endpoint /wishlist/:token, where :token is the customer's token.