Configure a Product or Category Landing Page
You can configure the support home page as a product landing page or as a category landing page. Product and category landing pages restrict search and search results to a selected product or category, enabling users to easily find specific information. All searches from the page will automatically use the selected product or category, and answers displayed will be specific to the selected product or category. You can also implement suggested searches to direct users to the most relevant content when they search from a landing page. Users can also navigate to product and categories of interest using breadcrumbs and images.
You configure the home page using the knowledge visual product category selector widget to display either a product landing page or category landing page. The home page is configured as a product landing page by default.
You can add images to display for each product and category. To add product and category images, you must upload an image for each product or category to the following directory:
cp/customer/assets/images/prodcat-imagesImages must have the same name as their corresponding product or category. If an image corresponding to a product or category is not found, default image (default.png) from the images directory is displayed on the home page.
Modify the home page in your existing instance to configure the product or category landing page.
Edit the file:
cp/customer/development/views/pages/home.php-
Locate the OkcsVisualProductCategorySelector widget code, for example:
<rn:widget path="okcs/OkcsVisualProductCategorySelector" type="product"/>
-
Edit the
type
attribute to the desired configuration, either product or categories, for example:<rn:widget path="okcs/OkcsVisualProductCategorySelector" type="categories"/>
-
Add the
maximum_items
attribute to specify the number of products or categories you want to display. The default value is 8. The maximum value is 40.<rn:widget path="okcs/OkcsVisualProductCategorySelector" maximum_items="12"/>