Categories in Product List Screen
Copyright © 2001, William Weiland
Overview
This plugin module inserts the category name directly below the product name in the Product List (PLST) and Search (SRCH) screens. When a product is in more than one category, the module displays all of them. Each category name is linked to the corresponding category list screen.
Initial Setup
Use the Merchant admin upload feature to upload the catplst.mv(c) module. Once uploaded, click the Add button to add it to the mall/domain.

In admin, under your store, click on the link for Utilities Configuration Screen. Assign the module and Update it to install it in your store.


Editing Requirements (skip if using the OpenUI)
If you are using the Miva Merchant User Interface (mmui) you will need to make some very simple edits to the core files. Be sure to do that with a text editor (NO WYSIWYG editors) such as Programmer's File Editor (PFE) so as not to damage the mv files. ALWAYS BACKUP your unmodified mv files in case you make a mistake.

Merchant version 2.2x
In the MMUI_ProductList and MMUI_Search function you can add the following line
<MvDO FILE="{g.Module_Root$'modules/util/catplst.mv'}" NAME="l.categoryinfo" VALUE="{ShowProductCategories(Products.d.id)}">
immediately after the line in those functions that read

Merchant version 3.x
In the MMUI_Display_Product_ScreenLine and MMUI_Display_Product_ScreenExpand function you can add the following lines
<MvIF EXPR = "{g.Screen NE 'CTGY'}">
<MvDO FILE="{g.Module_Root$'modules/util/catplst.mv'}" NAME="l.categoryinfo" VALUE="{ShowProductCategories(Products.d.id)}">
</MvIF>

immediately after the line in those functions that contains <MvEVAL EXPR = "{Products.d.name}"> When used in the MMUI_Display_Product_ScreenExpand function you'll need to follow the line with a <BR> in order to wrap the line with the Code: