Merchant Affiliate Program

Support Forum
It is currently Wed Dec 11, 2019 10:05 pm

All times are UTC - 6 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jun 18, 2012 9:38 pm 

Joined: Fri May 04, 2012 12:28 pm
Posts: 5
I've followed the instructions at viewtopic.php?t=18 to incorporate the gift registry.

However, we'd really like to have the price included.

Using our cart, the price is identified in span as follows:

<span id="lblSitePrice" class="SitePrice">$119.95</span>

Any hints on how to integrate it into MyGiftList?

 Post subject: This might work.
PostPosted: Tue Jun 19, 2012 10:59 am 
Site Admin

Joined: Mon Mar 29, 2004 3:56 pm
Posts: 114
We can try to get the price using this javascript:

Entire code is below:

<!-- 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="" width=68 height=26 border=0 alt="Click to Add to MyGiftList!"></a>
<script language=javascript>
function genericMGLpopup(refsource, storename, cartname) {
   var u;
   u = "" + escape(refsource) + "&giftURL=" + escape(document.URL) + "&giftName=" + escape(document.title) + "&giftRetailer=" + escape(storename) + "&giftCart=" + escape(cartname) + "&giftPrice=" + escape(document.getElementById('lblSitePrice').innerHTML);
   var mgl =,"MGL","width=700,height=500,top=60,left=100,resizable,scrollbars");

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

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours

Who is online

Users browsing this forum: No registered users and 2 guests

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:  
Powered by phpBB® Forum Software © phpBB Group