This guide describes how to integrate Kundo Forum with your online store.
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.
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
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 email@example.com. The information that you obtain through the API can then be displayed appropriately (e.g. question title and a link to read more).