Merchant Affiliate Program

Support Forum
It is currently Sat Sep 23, 2017 3:30 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Cart32 Shopping Cart
PostPosted: Sun Apr 03, 2005 12:30 pm 
Offline
Site Admin

Joined: Mon Mar 29, 2004 3:56 pm
Posts: 114
To integrate MyGiftList with a site that uses the Cart32 Shopping Cart System, http://www.cart32.com, for e-commerce, cut and paste the "Add to MyGiftList" HTML code below after the Add to Shopping Cart HTML button code but before the </form> tag in your web page.

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
------------------------------------------------------------------------------------------------>

<input type="image" onclick="javascript:cart32MGLpopup(this.form);return false" src="http://www.mygiftlist.com/gif/AddtoMyGiftList7e.gif" width=68 height=26 border=0 alt="Click to Add to MyGiftList!">
<script language=javascript>
function cart32MGLpopup(ff) {
   var refsource = "Your Affiliate ID";
   var storename = "Your Store Name";
   var giftPrice = "";
   var giftName = "";
   var giftQuantity = "";
   var giftDescription = "";
   if (ff) {
      for (var i = 0; i < ff.elements.length; i++) {
         if (ff.elements[i].name == "Item") {
            giftName = ff.elements[i].value;
         }
         if (ff.elements[i].name == "Qty") {
            giftQuantity = ff.elements[i].value;
         }
         if (ff.elements[i].name == "Price") {
            giftPrice = ff.elements[i].value;
         }
         if (ff.elements[i].name == "PartNo") {
            giftDescription = ff.elements[i].value;
         }
      }
   }
   var u
   u = "http://www.mygiftlist.com/register_gift.asp?refSource=" + escape(refsource) + "&giftURL=" + escape(document.URL) + "&giftName=" + escape(giftName) + "&giftRetailer=" + escape(storename) + "&giftPrice=" + escape(giftPrice) + "&giftQuantity=" + escape(giftQuantity) + "&giftDescription=" + escape(giftDescription);
   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: Yahoo [Bot] 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