Last Updated 8 months ago
How to display FAQ categories using a hook?
FAQ entries and categories, besides being automatically displayed on the list and product page, can be embedded anywhere in the store.To do this, use the displayFaqCategory hook and pass it the id_category_faq parameter.
Example use in a .tpl file:
{hook h='displayFaqCategory' id_category_faq='1,2'}Parameter description:
- id_category_faq – IDs of the FAQ categories to be displayed. For several categories, separate them with a comma (e.g.
1,2,5).