Categories in Basket Screen
Copyright © 2002, William Weiland
Overview
This plugin module inserts the category name directly below the product name in the Basket (BASK) and Invoice (INVC) 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 in the Basket Screen.
Initial Setup
Use the Merchant admin upload feature to upload the 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.

1) In the MMUI_DisplayBasket function you can add one line. Locate the following lines I have marked with an asterisk. Then add the one line after those that is not marked with an asterisk.
*<MvEVAL EXPR = "{ Baskets.d.name }">
*<MvIF EXPR = "{ Baskets.d.upsold }">
*<MvLOCALIZED ID = "MER-MMU-00140">
*<MvLOCALIZED-TEXT LANGUAGE = "en-US">(Special Offer)</MvLOCALIZED-TEXT>
*<MvLOCALIZED-TEXT LANGUAGE = "de-DE">(Sonderangebot)</MvLOCALIZED-TEXT>
*</MvLOCALIZED>
*</MvIF>
<MvDO FILE="{g.Module_Root$'modules/util/catbask.mv'}" NAME="l.categoryinfo" VALUE="{ShowProductCategories(Baskets.d.product_id)}">

2) In the UIModule_Invoice function you can add one line. Locate the following lines I have marked with an asterisk. Then add the one line after those that is not marked with an asterisk.
*<MvEVAL EXPR = "{ OrderItems.d.name }">
*<MvIF EXPR = "{ OrderItems.d.upsold }">
*<MvLOCALIZED ID = "MER-MMU-00039">
*<MvLOCALIZED-TEXT LANGUAGE = "en-US">(Special Offer)</MvLOCALIZED-TEXT>
*<MvLOCALIZED-TEXT LANGUAGE = "de-DE">(Sonderangebot)</MvLOCALIZED-TEXT>
*</MvLOCALIZED>
*</MvIF>
<MvDO FILE="{g.Module_Root$'modules/util/catbask.mv'}" NAME="l.categoryinfo" VALUE="{ShowProductCategories(OrderItems.d.product_id)}">