Merchant Affiliate Program

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

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Aug 18, 2005 2:34 pm 
Offline
Site Admin

Joined: Mon Mar 29, 2004 3:56 pm
Posts: 114
Actinic is a mature shopping cart that can be purchased at:
http://www.actinic.com/

This code has been created for Actinic Catalog version 7 but may work for other versions.

To integrate MyGiftList with a site that uses Actinic, cut and paste the "Add to MyGiftList" HTML code below into the template you use for displaying your products. You can find templates to edit under the Layout button for each product. The code should go right after the Add to Cart button. The Add to Cart button is this code snippet:

Code:
<Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>


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
------------------------------------------------------------------------------------------------>
<BR><BR>
<input type=image onclick='javascript:actinicMGLpopup("Your Affiliate ID","Your Store Name","actinic");return false;' 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 actinicMGLpopup(refsource, storename, cartname) {
   var giftPrice = "NETQUOTEVAR:PRODUCTPRICE";
   var giftName = "NETQUOTEVAR:PRODUCTNAME";
   var giftDescription = "NETQUOTEVAR:PRODUCTDESCRIPTION";
   var u = "";
   u = "http://www.mygiftlist.com/register_gift.asp?refSource=" + escape(refsource) + "&giftURL=" + escape(document.URL) + "&giftName=" + escape(giftName) + "&giftRetailer=" + escape(storename) + "&giftCart=" + escape(cartname) + "&giftPrice=" + escape(giftPrice) + "&giftDescription=" + escape(giftDescription);
   var mgl = window.open(u,"MGL","width=600,height=400,top=60,left=100,resizable,scrollbars");
}
</script>

<!-- End MyGiftList Code --------------------------------------------------------------->



For example, here is the Add to MyGiftList button code added to a "Large image on the left template":


Code:
<!-- ProductLine HTML begin -->
<!-- Insert HTML for the top of the individual product --> NETQUOTEVAR:INCLUDE Act_ProductSeparator.html NETQUOTEVAR:ENDSEPARATOR NETQUOTEVAR:PRODUCTFORMBEGIN
  <tr>
    <td rowspan="2" colspan="2" valign="TOP" align="CENTER"> NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE </td>
    <td valign="TOP" align="LEFT">
      <a name="NETQUOTEVAR:PRODUCTANCHOR"><span
class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
      <span class="actxsmall">NETQUOTEVAR:PRODUCTREF <br>
      NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON
      <br>
      <span
class="actxsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
      NETQUOTEVAR:PRICEEXPLANATION </span><br>
      <b>NETQUOTEVAR:PRODUCTPRICE</b><br>
      <span class="actxsmall">NETQUOTEVAR:DISCOUNTINFO </span>
      <span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
      <span class="actxsmall">NETQUOTEVAR:DATEPROMPT </span>
    </td>
  </tr>
  <tr>
    <td align="LEFT"><span class="actxsmall">
   NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>
   <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>

<!-- BEGIN MyGiftList Code ---------------------------------------------------------------------
--  change "Your Affiliate ID" below to your MyGiftList Affiliate ID
--  change "Your Store Name" below to the name of your store
------------------------------------------------------------------------------------------------>
<BR><BR>
<input type=image onclick='javascript:actinicMGLpopup("Your Affiliate ID","Your Store Name","actinic");return false;' 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 actinicMGLpopup(refsource, storename, cartname) {
   var giftPrice = "NETQUOTEVAR:PRODUCTPRICE";
   var giftName = "NETQUOTEVAR:PRODUCTNAME";
   var giftDescription = "NETQUOTEVAR:PRODUCTDESCRIPTION";
   var u = "";
   u = "http://www.mygiftlist.com/register_gift.asp?refSource=" + escape(refsource) + "&giftURL=" + escape(document.URL) + "&giftName=" + escape(giftName) + "&giftRetailer=" + escape(storename) + "&giftCart=" + escape(cartname) + "&giftPrice=" + escape(giftPrice) + "&giftDescription=" + escape(giftDescription);
   var mgl = window.open(u,"MGL","width=600,height=400,top=60,left=100,resizable,scrollbars");
}
</script>

<!-- End MyGiftList Code --------------------------------------------------------------->

      </span>
 NETQUOTEVAR:TEMPLATEENDXML
       </td>
  </tr>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT
<!-- Insert HTML for the bottom of the individual product -->
<!-- ProductLine HTML end -->


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