Merchant Affiliate Program

Support Forum
It is currently Sat Nov 18, 2017 12:35 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Aug 03, 2004 6:16 pm 
Offline
Site Admin

Joined: Mon Mar 29, 2004 3:56 pm
Posts: 114
MyGiftList will integrate with just about any shopping cart. This forum contains specific instructions for many types of shopping carts.

If your cart is not listed, you can try this code which will work with most carts.

Simply cut and paste this code on any page on your site that has a gift for sale. If you have a template, you can add the HTML code once to the template for your shopping cart.

This code works if:

1. The Title of the page is the name of the gift. Many shopping carts do this because it is helps with search engine rankings.

2. The URL of the current page is the page where the gift can be bought.

3. You are not concerned that the price is not automatically entered into the gift registry for the user.

If you want tighter integration with your shopping cart, you will have to be able to add the HTML code to your shopping cart scripts and use the database variables to fill in the gift information like the price.

Remember to change "Your Affiliate ID" below to your MyGiftList Affiliate ID and "Your Store Name" below to the name of your store.


Code:
<!-- BEGIN MyGiftList Code --------------------------------------------------------------------->
<!--  change "Your Affiliate ID" below to your MyGiftList Affiliate ID -->
<!--  change "Your Store Name" below to the name of your store  -->
<!------------------------------------------------------------------------------------------------->
<a href='javascript:genericMGLpopup("Your Affiliate ID","Your Store Name","generic");' ><img src="http://images.mygiftlist.com/gif/AddtoMyGiftList7e.gif" width=68 height=26 border=0 alt="Click to Add to MyGiftList!"></a>
<script language=javascript>
function genericMGLpopup(refsource, storename, cartname) {
   var u;
   u = "http://www.mygiftlist.com/register_gift.asp?refSource=" + escape(refsource) + "&giftURL=" + escape(document.URL) + "&giftName=" + escape(document.title) + "&giftRetailer=" + escape(storename) + "&giftCart=" + escape(cartname);
   var mgl = window.open(u,"MGL","width=600,height=400,top=60,left=100,resizable,scrollbars");
}
</script>

<!-- END MyGiftList Code --------------------------------------------------------------->


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group