Rate This |
Copyright © 2000, William Weiland |
Overview The purpose of this module is to allow a customer to rate and write a review about products in your store. |
|
Initial Setup Use the Merchant admin upload feature to upload the ratethis.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. FTP the two included gif files, whole.gif and half.gif to the graphics/ directory under your Merchant directory. The images are of a heart. If you want to use other images, eg. stars or half stars, simply FTP them to the server and change the URL settings in admin. Click the link for Rate This to enter the configuration settings from the Utilities Configuration screen. If you have compiled Merchant and the Rate This module is version 4.62 or higher, you will also need to install or update the cim_log.mvc (CIM Activity Log). cim_log.mvc is a central library file that several of my modules use. If you already have it installed, then update it. If not, then add it as new. After installing, make sure it is "Assigned" under the Logging Configuration screen. |
|
Configuration Settings In admin, under the store, select the Utilities link. Then select the link for Rate This so that you can configure your rating system. Email Scope Whole Image URL Half Image URL Image Display Prompt Location Button Separator Footer Not logged in message Templates |
|
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.mv file you insert the following line in the
MMUI_Begin_Screen function. It is inserted on the line immediately before
the last </TABLE> tag. It goes between the lines marked with * below. 2) In the mmui.mv file you insert the following line in the
MMUI_ProductDisplay function. It is inserted on the line immediately before
the </TABLE> tag which follows the cell which contains
<MvEVAL EXPR = "{ Products.d.desc }"> The code goes between the lines
marked with * below. 3) If you want to also include the graphic image rating display on the
category listing of products (in addition to the product screen), add the
following line just below the product description (desc) cell in the
mmui.mv Display_Product_ScreenExpand function. Many people have already
modified their category display screen, so you may find it necessary to
change slightly the table cells surrounding the line below for better
alignment. That can be done by editing the RateThis_Short_Rating function
within the ratethis.mv file. Note: If you are using Merchant 4.14 or newer, the file name in the inserted code is ratethis.mvc. Also, after editing the mmui.mv, you will need to re-compile it to create the mmui.mvc. For this reason, it is highly recommended that you use the OpenUI to avoid the editing requirements. |
|
Frequently Asked Questions Q: The prompt to enter the ratings and reviews is not showing up at the product screen. A: Consider 1) The customer must be logged in before they see the prompt. This discourages mischievous ratings. 2) If you are using the Miva Merchant look and feel, there are edits of the mmui.mv required. If your Merchant version is 4.14 or newer see the note above about editing and 4.14 or newer. Still have a question? |