Save Basket to Giftlist |
Copyright © 1999, William Weiland |
Overview The purpose of giftlist.mv is to allow a customer to place items they desire into a saved file so that others may view their desires and place an order. This is particularly suited for weddings, baby showers, kids wants for Santa, etc. |
|
Initial Setup Use the Merchant admin upload feature to upload the module giftlist.mv. Click the Add button to add it to the mall/domain. In admin, under your store, click on the link for the Utilities. Assign the Save Basket to Giftlist module and Update it to install it in your store. Click the Save Basket to Giftlist tab to enter the configuration setting. Complete the inputs as applicable. FTP the help file giftlist.htm to the modules/ui/ directory. You can edit that file to add your own information about the Giftlist. You'll need to FTP a gif file that signifies add to cart consistent with your site. Name it add2cart.gif and put it in /Merchant2/graphics/ or /Merchant/graphics/ depending where your Merchant 2 or 3 is installed. |
|
Configuration Settings Enter data into the applicable input fields. Expires After Add To Cart Image URL View List Save List Screen After Save Add to Cart Image URL List Title Remove from List Text Location Allow Saving Without Login Footer |
|
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. Several edits are required in the mmui.mv file. 1) In the mmui.mv file, function UIModule_Dispatch, include the following
code. Put this code in the latter half of the function, not near the
beginning of the UIModule_Dispatch function. 2) If you want to give shoppers the ability to save the entire basket to
the giftlist with one key press, use this option. In the mmui.mv, function
MMUI_DisplayBasket, near the end of the function include the following 7 lines between the last </TABLE>
and the </MvIF>. The </TABLE>* and </MvIF>* tags are
shown here for orientation. 3) If you want to give shoppers the ability to save the product the specific
product they are view directly to the giftlist without putting it in the
basket first, use this option. In the mmui.mv, function MMUI_ProductDisplay,
locate the code that draws the Add to Basket submit button. You will
probably want to insert the Save to List button just below the Add button.
Be sure it is below the closing </FORM> tag for the Add to Basket button.
You will probably want to use the table tags TR and TD to align the button
on your page, depending on where you decide to insert the button. Insert
the following line at the location you decide. 4) You need to have an input for potential gift givers to enter the code
for the recipients gift list. The next two are examples of two ways to
accomplish this. You can use one or both options. 5) In order to provide the Javascript help popup you need to add the
following code in mmui.mv, MMUI_Begin_Screen function, just before the
</HEAD> tag. 6) If you are going to have attributes in your products which could be
put on the giftlist, you'll need to add the following in the mmui.mv
UIModule_Product_Attributes function just below the hidden input for
quantity. |
|
Upgrading from Merchant version 1.x If you are upgrading your giftlist from Merchant version 1.x to 2.x or 3.x, you'll need to copy your dbf and mvx files from the old data directory to the new data directory (eg. 00000001/giftlist/) AFTER you have installed the giftlist module into version 2.x or 3.x. |
|
Usage When the customer has filled their basket, rather than checking out, they can save the products to a file. It does not save the attributes however, so if there are sizes and colors involved with your products, there is a comments section that the shopper can inform their gift givers of their specific variations. |