Merchant Affiliate Program
http://forums.mygiftlist.com/affiliates/kb/

Miva merchant integration
http://forums.mygiftlist.com/affiliates/kb/viewtopic.php?f=7&t=26
Page 1 of 1

Author:  masmith [ Thu Dec 09, 2004 1:30 pm ]
Post subject:  Miva merchant integration

Hi -- Can anyone help me with Miva Merchant integration?

Thanks!

Author:  admin [ Thu Dec 09, 2004 2:16 pm ]
Post subject:  We haven't tried integrating with Miva Merchant

Unfortunately, We haven't tried integrating with Miva Merchant and we haven't heard of any other merchants who have done it. If no one responds back, you might want to start with the instructions for integrating with Generic Shopping carts or look at the code for osCommerce to see how that works.

What is the URL of your site so I can take a look?

Regards,

MyGiftList Support

Author:  harvest-moon [ Tue May 30, 2006 12:10 pm ]
Post subject:  Code for Miva integration

Here's the code that you need to insert in "Product Display" page template > in your "Product Display Layout" code, under this piece of code:

Code:
<mvt:item name="buttons" param="AddToBasket" />
</mvt:item>


Copy and paste this...

Code:
<!-- BEGIN MyGiftList Code ------------------->
        <a href='javascript:genericMGLpopup("<---enter your affiliate ID here --->","<-- enter your store name here -->","generic");' >
        <img src="http://www.mygiftlist.com/gif/AddtoMyGiftList7e.gif" width=68 height=26 border=0 alt="Click to Add to MyGiftList!"></a>
        <script language=javascript>
          var myPrice = "&mvt:product:formatted_price;";
          var myPrice2 = myPrice;
          function genericMGLpopup(refsource, storename, cartname, myPrice) {
          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) + "&giftPrice=" + escape(myPrice2);
          var mgl = window.open(u,"MGL","width=600,height=400,top=60,left=100,resizable,scrollbars");
          }
        </script>
      <!-- END MyGiftList Code -------------------------------------------->

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/