Ecommerce Templates > General Help > Wish List / Gift Registry

Wish List / Gift Registry Program

The wish list and gift registry feature was introduced in Version 5.8. It will allow customers to create their own list of items in their account which can be purchased at a later date. It also allows for the creation of lists which can be sent to friends and family for occasions such as birthdays, weddings etc. so they can purchase the items which the list owner has requested.

Getting started

The set up for the wish list program is really simple. It does require the use of the customer login feature so if you are not currently using that, it will need to be enabled. Details of the customer login can be found here for the ASP Version and here for the PHP Version.

Once you have the customer login set up, you will need to enable the wish list feature. This is done with the following entry in vsadmin/includes.asp

enablewishlists=TRUE

or in vsadmin/includes.php

$enablewishlists=TRUE;

Clicking on the link to "Create gift registry" will take you to the relevant section in the client login page where you can view and manage your wish lists.

Wishlist management

This is where your wish lists will be shown along with the number of items in each list and the URL that can be sent to friends so they can purchase from your list.

Items can added to list from the products and / or product detail pages. A link will be added below the buy button which will give a drop down menu of the lists available.

Add to wish list

If you want the "Add to List" link on both the product and product detail pages, add the following to vsadmin/includes.asp

wishlistonproducts=TRUE

or vsadmin/includes.php

$wishlistonproducts=TRUE;

If you only want the "Add to List" link on the product detail pages, add the following to vsadmin/includes.asp

wishlistondetail=TRUE

or vsadmin/includes.php

$wishlistondetail=TRUE;

You can display the Add To List link as a button so it looks something like this

Add to wish list

You will need to add this to vsadmin/includes.asp

imgaddtolist="button"

or vsadmin/includes.php

$imgaddtolist="button";

If you are using wordpress that would be

$GLOBALS['imgaddtolist']="button";

You would then need to style the button in your css file. The above example for the detail page uses the following css

div.detailwishlist input{
background:#999;
color:#fff;
border-radius:6px;
padding:4px 12px;
border:0px;
}

div.detailwishlist input:hover{background:#000;}
div.savecartlist a{color:#000;}
div.savecartlist{color:#000;text-align:left;font-size:0.9em;}

My Wish List vs Gift Registry

As you can see from the screen shot above, you have the choice to add an item to a gift registry (in this example one we set up called New List) or to My Wish List.

My Wish List is your own personal list that you can add items to for purchasing at a later date. It's not a public list and can only be viewed once you are logged into the store. You can move items between lists, move them to cart or delete them.

Wish List

You can have as many Gift Registries as you need and one personal list under "My Wish List".

Editing the look

As with all the Ecommerce Templates features, text changes can be made in vsadmin/inc/languagefile_en.asp or .php - copy any text changes to includes.asp / includes.php so they don't get overwritten by updaters. The wish list uses the same css classes as the shopping cart, search etc which are found in ectcart.css. If you decide to make any changes, make them in your main css file and not in ectcart.css.