How to replace the WishWorld Gift Registry with MyGiftList
Many web sites have been switching to MyGiftList.
You can switch to MyGiftList without having to reprogram all your Add to WishList buttons if you are able to do global search and replaces on the files in your site.
Follow these steps to easily switch to MyGiftList:
- Do a global search and replace on the line of HTML code below:
<script src="http://www.wishworld.com/wishWorld.js">
and replace with
<script src="//images.mygiftlist.com/scripts/mygiftlist.js">
Or, for best performance, you should download the mygiftlist.js file and place on your server. If you put it in your /scripts folder, then the code to replace the wishworld code with would look like this:
<script src="/scripts/mygiftlist.js">
- Finally, do a global search and replace for your WishWorld Store Code and replace with your MyGiftList Affiliate ID surrounded by apostrophes.
For example, if your WishWorld Store Code is 156786 and your MyGiftList Affiliate ID is SIMPLYGI876
then you would do a global search for 156786 and replace it with 'SIMPLYGI876'.
This will change the Store Code in the addProduct function. For example:
<a href="javascript:addProduct(156786, '|:|Desc:Papas Lullaby|F1:155961658x|Price:15.98|buyurl:www.mystore.com/productdetail.asp?SKU=155961658x|');">
becomes
<a href="javascript:addProduct('SIMPLYGI876', '|:|Desc:Papas Lullaby|F1:155961658x|Price:15.98|buyurl:www.mystore.com/productdetail.asp?SKU=155961658x|');">
Note that you need to have ' (apostrophes) around your Affiliate ID.
- That's it!
Let MyGiftList be your E-Commerce companion!
|