Kundo

Integrate Kundo Forum with an online store

Updated

This guide describes how to integrate Kundo Forum with your online store.

Requirements

  • You have the possibility to adapt the code for your online store.

  • You mark up posts in your forum in a way that allows you to access them via the API, e.g. by article number or category.

Display based on category

 If you want to display the same questions for all products in a category (e.g. bathroom), then you create the same categories in Kundo Forum that you have in your online store.

In order to retrieve posts in a category, you can ideally use the function for retrieving all posts in a certain category, e.g. https://kundo.se/api/popular/<forum-slug>/<category>.json

What you need is the forum slug and the category that the questions are to be retrieved from. The information that you obtain through the API can then be displayed appropriately (e.g. question title and a link to read more).

Display based on tags

 If you want to display different questions based on products, you need to tag posts with an article number. You add a tag with the article number to each post that you want to be displayed for the article. We recommend that the tags be set so they are not visible to customers in this case.

In order to retrieve posts with a certain category, use https://kundo.se/api/tag/<forum-slug>/<tag-name>.json?key=YOUR_API_KEY

As before, you need the forum slug, and also the name of the tag. In addition, an API key is needed to retrieve data based on a certain tag. The simplest way to obtain an API key is to contact support@kundo.se.  The information that you obtain through the API can then be displayed appropriately (e.g. question title and a link to read more).

Example

Example of how Byggfabriken displays questions and answers for a certain product.

Questions or more information

The complete documentation for our API can be found at https://kundo.se/api-doc/ and our support team at support@kundo.se will be happy to help.