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:
Let MyGiftList be your E-Commerce companion!
- Do a global search and replace on the line of HTML code below:
and replace with
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:
- 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:
Note that you need to have ' (apostrophes) around your Affiliate ID.
- That's it!