Merchant Affiliate Program

Support Forum
It is currently Fri Sep 22, 2017 9:20 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Shopster Integration
PostPosted: Thu Nov 01, 2007 3:40 pm 
Offline
Site Admin

Joined: Mon Mar 29, 2004 3:56 pm
Posts: 114
To integrate MyGiftList with a site that uses the Shopster Shopping Cart, http://www.shopster.com, for e-commerce, cut and paste the "Add to MyGiftList" HTML code below into the RShop Designer Template that you select. The template can be found under RShop Designer, Templates, Customize, Edit Layout.

On the Edit Layout screen, select Source in the WYSIWYG HTML editor and paste the below code at the very bottom of the source code. Edit the LEFT and TOP values of the style tag for this div to move the Add to MyGiftList button to the place on the page that you want it.

Code:
<div id="1" style="LEFT: 369px; TOP: 103px; Z-INDEX: 1119; POSITION: absolute;" align="center">


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 -->
        <div id="1" style="LEFT: 369px; TOP: 103px; Z-INDEX: 1119; POSITION: absolute;" align="center"><span id="_ctl1_btnAddRegistry" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px"><input onclick="javascript:shopsterMGLpopup('Your Affiliate ID','Your Store Name','shopster');" type="image" height="40" alt="Click to Add to MyGiftList!" width="68" src="http://images.mygiftlist.com/gif/AddtoMyGiftList7d.gif" border="0" /></span><br /><script language=javascript>
function shopsterMGLpopup(refsource, storename, cartname) {
   var u;
   var x=document.getElementById("_ctl12__ctl2_lblPrice");
   var p;
   if (x == null) {
         p = "";
   } else {
      p = x.innerHTML;
   }
   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) + "&giftPrice=" + escape(p);
   var mgl = window.open(u,"MGL","width=700,height=500,top=60,left=100,resizable,scrollbars");
}
</script></div>
        <!-- END MyGiftList Code -->


You will also want to create a Custom page called Gift Registry and add the Login Code from your Merchant Affiliate account.


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