Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

I have a question for thos eof you using the affiliate system, and especially for those of you interested or using the tier system.

 

What extra reporting etc would you require in the admin section of the affiliate module.

 

Do you want the tiers broken down and displayed seperately, 2nd level affiliates listed under the main affiliate etc?

 

give me some idea as to what everyone wants so that i can complete this beast. :)

Link to comment
Share on other sites

Did anyone ever get osc-affiliate to work with Worldpay?

im not sure if this will work but in the worldpay file wpcallback.php find the following:

 

 

<?php // Success
if(isset($transStatus) && $transStatus == "Y") {  
 $url = tep_href_link(FILENAME_CHECKOUT_PROCESS, $cartId, 'NONSSL', false); 
  echo "<meta http-equiv='Refresh' content='5; Url=\"$url\"'>";
?>
<tr><td class="pageHeading" width="100%" colspan="2">
<center><?php echo WP_TEXT_SUCCESS; ?></center></td></tr>
   <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td>
   </tr><tr><td align="center" colspan="2"><table border="2" bordercolor="#FF0000" width="80%" cellspacing="0" cellpadding="2">
<tr><td class="main"><center><?php echo WP_TEXT_HEADING; ?></center><br><br> 
  <?php echo '<WPDISPLAY ITEM=banner>'; ?><br><br></td></tr>
</td></tr></table>
   <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td>
   </tr>
<tr><td class="pageHeading" width="100%" colspan="2">
<center><h3><?php echo WP_TEXT_SUCCESS_WAIT; ?></h3></center></td></tr>
<tr align="right"><td><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', false) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?><td></tr>
   <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td>
   </tr>

 

and change it to:

 

<?php // Success
if(isset($transStatus) && $transStatus == "Y") {  
 $url = tep_href_link(FILENAME_CHECKOUT_PROCESS, $cartId, 'NONSSL', false); 
  echo "<meta http-equiv='Refresh' content='5; Url=\"$url\"'>";

// Include OSC-AFFILIATE 
require(DIR_WS_INCLUDES . 'affiliate_checkout_process.php'); 
?>
<tr><td class="pageHeading" width="100%" colspan="2">
<center><?php echo WP_TEXT_SUCCESS; ?></center></td></tr>
   <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td>
   </tr><tr><td align="center" colspan="2"><table border="2" bordercolor="#FF0000" width="80%" cellspacing="0" cellpadding="2">
<tr><td class="main"><center><?php echo WP_TEXT_HEADING; ?></center><br><br> 
  <?php echo '<WPDISPLAY ITEM=banner>'; ?><br><br></td></tr>
</td></tr></table>
   <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td>
   </tr>
<tr><td class="pageHeading" width="100%" colspan="2">
<center><h3><?php echo WP_TEXT_SUCCESS_WAIT; ?></h3></center></td></tr>
<tr align="right"><td><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', false) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?><td></tr>
   <tr>
     <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td>
   </tr>

 

 

not sure if this will work but you can try it :)

 

Let me know how it goes.

Link to comment
Share on other sites

Hello, I got ver 1.09 installed and its working pretty good.

Only prob I have found is the email function dosnt work. either from creat a new account or mail an affiliate in admin.

Also when I try to creat a banner or a link I get a pop up box with the instructions to copy and past the following into your web page but the box is blank

 

Tony

Link to comment
Share on other sites

Tony i assume youre using a fairly recent copy of osCommerce...Milestone 2 or newer?

 

If so check back thru this discussion and you will find a fix for the images not displaying.

 

The new version which i should have up tomorrow has this bug and other fixed.

 

As for the mail function, im not sure what could be the toruble there. can you be a bit more specific, ie what error are you getting if any?

 

Are other emails from your store working correctly?

Link to comment
Share on other sites

Thank you for your quick response.

Yes when I place a test order I get an order confirmation as customer.

When I signed up as an afiliate it said I would recieve an email and still nothing.

 

I am using ver 2.2 mil 2

and aff 1.09

 

you can view my test site at www.realm-of-merlin.com/catalog

 

I want to get all the bugs worked out before I move it to my live site at www.knick-nacks.com

Link to comment
Share on other sites

Do you want the tiers broken down and displayed seperately, 2nd level affiliates listed under the main affiliate etc?

 

give me some idea as to what everyone wants so that i can complete this beast.

 

that would be nice

Link to comment
Share on other sites

I've search all 63 pages, high and low, not to find a fix for the following.

 

My Images come up fine when I (the webmaster) aadd them. However, on Build-A-Link, the images are not found. It never seems to work, with debug, direct link, or any other way.

 

Any resolution would be greatly appreciated.

Link to comment
Share on other sites

I've search all 63 pages, high and low, not to find a fix for the following.

 

My Images come up fine when I (the webmaster) aadd them. However, on Build-A-Link, the images are not found. It never seems to work, with debug, direct link, or any other way.

 

Any resolution would be greatly appreciated.

Link to comment
Share on other sites

for the build a link to work you need to the product ID for it to build the affiliate link if you look on the previous page you see the code i added for a popup list of products

 

hope this helps

Link to comment
Share on other sites

I created an account on your test site to test your affiliate, i reieved the welcome email for the affiliate and recieved the email for order process. seems to be working fine

 

Thank you for your quick response.

Yes when I place a test order I get an order confirmation as customer.

When I signed up as an afiliate it said I would recieve an email and still nothing.

 

I am using ver 2.2 mil 2 

and aff 1.09

 

you can view my test site at www.realm-of-merlin.com/catalog

 

I want to get all the bugs worked out before I move it to my live site at www.knick-nacks.com

Link to comment
Share on other sites

Thank you,

Now the only thing i need is to know how to pay affiliates.

I hit the payment button and I get a green bar that says all affiliates have been billed.

but when I go to payment screen I show all 0's

Link to comment
Share on other sites

here is some text that you can use for your affiliate information which includes a little calculator for your approximate affiliate sales

 

I am also working on the terms & conditions, faq and will post when finished

 

you can see an example at OSC Affiliate information page

 

you will need to edit the affiliate_info.php in your language files

/catatlog/includes/english/

on line 21 relpace the with the following

 

define('TEXT_INFORMATION', ' <TBODY>
       <TR>
         <TD vAlign=top width=649 height="1036">
           <H3 align=left>' . STORE_NAME . ' Affiliate Program</H3>
                 <P>Our affiliate program is a great way to earn money by referring clients and customers.</P>
                 <P><STRONG>Key Features</STRONG></P>
                 <UL>
                  <LI>Earn 25% recurring on every direct sale you generate.
                  <LI>Earn 5% recurring on every sale generated by your Sub Affiliates
                  <LI>Complete web stats/online tracking of Raw and Unique Clicks and commission
                  <LI>Online account management
                  <LI>Low payout threshold - Checks sent out when you reach $25.00
                  <LI>Link to any page on our site</LI></UL>
                 <P><STRONG>Stats Features</STRONG></P>
                 <UL>
                   <LI>View stats from any month or year, current or historical
                   <LI>Money due and money paid are shown for each month
                   <LI>Modify your account info
                   <LI>In-Depth Commissions Viewer to view individual commissions
                   <LI>See a count of total hits, unique (IP address) hits, and sales</UL>
                 <P><STRONG>Payouts</STRONG></P>
                 <UL>
                   <LI>Payout is monthly, sent out by the 15th of every month when you reach the $25.00 threshold.
                   <LI>Any commissions not paid out are rolled over until you reach the $25.00 payout threshold.
                   <LI>There is no maximum. You will be paid commissions on what you and your down line earn. The more you refer, the more you make.
                  <LI>Commissions are recurring for the life of the referral,  even on your down line!<LI>Passive income generated by your down line.</LI></UL>
           <H3>Commission Structure</H3>
           <p align="left">Earn commissions on all of our sales. Whether your referral signs up for a monthly or yearly package, commissions are recurring. See the pay scale below. The amounts are the actual commission you will earn from each sale:</p>
           <div align="center">
             <center>
           <TABLE cellSpacing=0 cellPadding=0 width="450" bgColor=#cccccc border=2 bordercolor="#CCCCCC" style="border-collapse: collapse" height="551">
             <TBODY>
                   <TBODY>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">
                       <DIV align=center><STRONG>Monthly Service</STRONG></DIV></TD>
                     <TD width="148" height="19">
                       <DIV align=center>Direct Sale - <STRONG>25%</STRONG></DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>Tier 2 Referral- <STRONG>5%</STRONG></DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 1</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$1.74</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$.34</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 2</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$2.49</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$.49</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 2</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$3.24</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$.64</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 4</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$3.99</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$.79</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 5</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$4.49</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$.89</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 6</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$6.74</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$1.34</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="444" colspan="3" height="1">
                       <DIV align=center></DIV>
                       <DIV align=center></DIV></TD>
                     </TR>
                   <TR bgColor=#ffffff>
                     <TD width="444" colspan="3" height="19"> </TD>
                     </TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">
                       <DIV align=center><STRONG>Yearly Service</STRONG></DIV></TD>
                     <TD width="148" height="19">
                       <DIV align=center>Direct Sale - <STRONG>25%</STRONG></DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>Tier 2 Referral- <STRONG>5%</STRONG></DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 1</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$3.75</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$.75</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 2</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$18.99</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$3.79</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 3</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$26.99</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$5.39</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 4</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$35.24</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$7.04</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 5</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$43.24</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$8.64</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 6</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$48.74</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$9.74</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="123" height="19">Product 6</TD>
                     <TD width="148" height="19">
                       <DIV align=center>$72.87</DIV></TD>
                     <TD width="173" height="19">
                       <DIV align=center>$14.57</DIV></TD></TR>
                   <TR bgColor=#ffffff>
                     <TD width="444" colspan="3" height="19">
                     <p style="margin-top: 0; margin-bottom: 0"> </p>
                     </TD>
                     </TR>
                   <TR bgColor=#ffffff>
                     <TD width="444" colspan="3" height="210">
                     <font color="#000000">
                     <p style="margin-top: 0; margin-bottom: 0" align="center">
                     <font face="Arial, Helvetica, sans-serif" color="#000080" size="2">
                     <b>Potential Earnings Calculator</b></font></p>
                     </font>
                     <p style="margin-top: 0; margin-bottom: 0" align="center">
                     <font face="Arial, Helvetica, sans-serif" size="2">This calculator can be used to work out your potential income</font>
                     </p>
                     <div align="center">
                       <form name="myform">
                         <table style="BORDER-COLLAPSE: collapse" borderColor="#C0C0C0" cellSpacing="0" cellPadding="2" width="522" bgColor="#ffffff" border="1">
                           <tr>
                             <td width="356">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <b>Number of direct referrals</b> (Level 1)</font></td>
                             <td width="155">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <input size="21" value="15" name="field1"> </font>
                             </td>
                           </tr>
                           <tr>
                             <td width="356">
                             <font face="Arial, Helvetica, sans-serif" size="2">How many members will <b>your direct referrals</b> refer (Level 2)</font></td>
                             <td width="155">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <input size="21" value="15" name="field2"> </font>
                             </td>
                           </tr>
                           <tr>
                             <td width="356">
                             <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                             <font face="Arial, Helvetica, sans-serif" size="2">Number of months as a Member</font></td>
                             <td width="155">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <input id="field75" size="21" value="12" name="field7">
                             </font></td>
                           </tr>
                           <tr>
                             <td width="356">
                             <div align="center">
                             </div>
                             </td>
                             <td width="155">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <input id="field54" onclick="return cal()" type="button" value="Calculate" name="field5">
                             <input id="Reset" type="reset" value="Clear" name="Reset"> 
                              </font></td>
                           </tr>
                           <tr>
                             <td noWrap width="356">
                             <font face="Arial, Helvetica, sans-serif" size="2"><strong>Estimated Monthly Earnings Total $</strong></font></td>
                             <td width="155">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <input readOnly size="21" name="field6"> </font>
                             </td>
                           </tr>
                           <tr>
                             <td width="356">
                             <font face="Arial, Helvetica, sans-serif" size="2"><strong>Estimated Yearly Earnings Total $</strong></font></td>
                             <td width="155">
                             <font face="Arial, Helvetica, sans-serif" size="2">
                             <input id="field712" readOnly size="21" name="field71">
                             </font></td>
                           </tr>
                         </table>
                       </form>
                     </div>
                     </TD>
                     </TR></TBODY></TABLE>
             </center>
           </div>
           </TD>
         </TR>
         </TD>');

 

you also need to edit the affiliate_info.php in the catalog

after line 29 or after the <link rel="stylesheet" type="text/css" href="stylesheet.css">

add the following

<script><!--
               function  cal()
                {
                 var form1 = document.myform;
                 var res1,res2,res3,res4,result, result1, rr, grand;
     res2 = form1.field1.value * 10;
     res3 = form1.field1.value * form1.field2.value;
     res4 = res3 * 10;
                 result = res2 + res4;
                 result1 = result +''
     grand = (result * form1.field7.value) + ((1023 * 6.25) * form1.field7.value)
                 form1.field6.value = (decimalPlace(result1,2))
     form1.field71.value = (decimalPlace(result1,2 ))* form1.field7.value
                 }
                 function decimalPlace(result1,n)
                 {
                   var i
                   var lngth
                   iNo = result1
                   i = iNo.indexOf('.') + 1
                   if (i == 0)
                   {
                       return result1
                   }
                   else{
                       lngth = i + n
                       return result1.substr(0,lngth)}
                 }
               //-->
              </SCRIPT>

Link to comment
Share on other sites

Thank you,

Now the only thing i need is to know how to pay affiliates.

I hit the payment button and I get a green bar that says all affiliates have been billed.

but when I go to payment screen I show all 0's

Tony what setting do you have for the minimum affiliate payout? has it met this level?

 

What is the setting on for the billign time? has the order been in the system for more than that length of time?

Link to comment
Share on other sites

affiliate terms & conditions it should cover most aspedts of the affiliate program edit to suit your needs

 

edit /catalog/includes/english/affiliate_terms.php

on line 21 replace with

define('TEXT_INFORMATION',  '<TR>
               <TD>
                 <P align=justify><STRONG>THESE TERMS OF USE PERTAIN TO AN INDIVIDUAL AND/OR COMPANY\'S USAGE AND PARTICIPATION IN THE ' . STORE_NAME . ' AFFILIATE PROGRAM. WE RESERVE THE RIGHT TO EDIT, CHANGE, AND AMEND THESE TERMS. BY PARTICIPATING YOU AGREE TO THE FOLLOWING TERMS:</STRONG> </P>
                 <P align=justify><BR><b>1. AGREEMENT.</b> In this Affiliate Agreement ("Agreement"), "we", us" and "our" refer to ' . STORE_NAME . ' and ?Services? refers to the Affiliate Program, services provided by us. You hereby consent to any and all such disclosures and use of, and guidelines, limits and restrictions on disclosure or use of, information provided by you in connection with the registration of a affriliate name (including any updates to such information), whether during or after the term of your registration of the affiliate name. You hereby irrevocably waive any and all claims and causes of action you may have arising from such disclosure or use of your affiliate name registration information by us.</P>
                 <P align=justify><strong>2. JOINING THE PROGRAM.</strong> By filling out the affiliate signup form you will automatically become a ' . STORE_NAME . ' affiliate. Your participation in the program is solely for this purpose: to legally advertise the ' . STORE_NAME . ' site and products and receive a commission on sales generated by your referrals. You also agree to receive periodic mailings to affiliates regarding the ' . STORE_NAME . ' affiliate program. </P>
                 <P><strong>3. REVOCATION OF AFFILIATE STATUS</strong>. Your affiliate application and status in the program may be suspended or terminated for any of the following reasons: Inappropriate advertisements (False claims, misleading hyperlinks), Spamming (mass email, mass newsgroup posting, etc...), Advertising on sites containing/promoting illegal activities, Violation of intellectual property rights (copying ' . STORE_NAME . ' material). </P>
                 <P><strong>4. LINKING TO ' . STORE_NAME . '. </strong>You may use graphic and text links both on your website and in emails. ' . STORE_NAME . ' may also be advertised "offline" in classified ads, magazines, and newpapers. You may use the graphics and text provided to you by ' . STORE_NAME . ', or you may create your own as long as they are deemed appropriate according to the conditions in 2. </P>
                 <P><strong>5. AFFILIATE COMMISSIONS. </strong>You will be paid referral fees for every ' . STORE_NAME . ' product purchased with paypal.com, credit card, and offline check or money orders. This referral fee will be 25% of the final purchase price. Affiliate commissions will be paid out monthly with a minimum required commission value of $25.00 for payment. If the referred product was refunded, the membership cancelled, or money was reimbursed, ' . STORE_NAME . ' reserves the right to deduct the appropriate commissions from the affiliate\'s account.<STRONG> ' . STORE_NAME . ' does not give a commission when an affiliate makes a ' . STORE_NAME . ' purchase and generates a commission for themselves. ' . STORE_NAME . ' does give commissions when an affiliate makes a purchase and generates a commission for a different affiliate.</STRONG> If 10 commissions are generated within a one month period, you will receive a $50 bonus added to your account. </P>
                 <P><strong>6. AFFILIATE TRACKING.</strong> After signing up for the program you will receive a unique affiliate url which you will use to advertise our website. When someone clicks through this url a cookie will be set in their browser with your affiliate ID and their IP address will also be logged with your affiliate ID. During that visit to our website or any later visit, when a purchase is made the commission will be given based on the existence of the cookie or a match of the IP address in the database. </P>
                 <P><strong>7. TERMS OF AGREEMENT.</strong> You agree that this Agreement will remain in full force during the term of your Affiliate registration as selected, recorded, upon registration. Should you choose to continue the term of your Affiliate registration, then the term of this Agreement will be extended accordingly. These terms will begin upon your signup with the affiliate program and will end when either you or ' . STORE_NAME . ' terminates your affiliate status. </P>
                 <P><b>8. MODIFICATIONS TO AGREEMENT.</b> You agree, during the period of this Agreement, that we may: (1) revise the terms and conditions of this Agreement; and (2) change the services provided under this Agreement. Any such revision or change will be binding and effective immediately on posting of the revised Agreement or change to the service(s) on our web site, or on notification to you by e-mail or regular mail as per the Notices section of this agreement. You agree to review our web site, including the Agreement, periodically to be aware of any such revisions. If you do not agree with any revision to the Agreement, you may terminate this Agreement at any time by providing us with notice by e-mail or regular mail as per the Notices section of this agreement. Notice of your termination will be effective on receipt and processing by us. You agree that, by continuing to use the Services following notice of any revision to this Agreement or change in service(s), you shall abide by any such revisions or changes. You agree that, by maintaining the reservation or registration of affiliate name after modifications to the Terms & Conditions Policy become effective, you have agreed to these modifications. You acknowledge that if you do not agree to any such modifications, you may request that your affiliate name be deleted from the affiliate database. The terms of this agreement may be modified at any time by ' . STORE_NAME . '. If any modification is unacceptable to you, your only choice is to terminate your affiliate status. Your continuing participation in the program will constitute your acceptance of any change.</P>
                 <P><b>9. MODIFICATIONS TO YOUR ACCOUNT.</b> In order to change any of your account information with us, you must use your affiliate identifier and the password that you were provided when you opened your account with us. Please safeguard your affiliate identifier and password from any unauthorized use. In no event shall ' . STORE_NAME . ' be liable for the unauthorized use or misuse of your affiliate identifier or password. </P>
                 <P><strong>10. LIABILITY.</strong> ' . STORE_NAME . ' will not be liable for indirect or accidental damages (loss of revenue, commissions) due to affiliate tracking failures, loss of database files, and any results of "intents of harm" to the program. We make no claim that the operation of ' . STORE_NAME . ' will be error-free and will not be liable for any interruptions or errors. You agree that our entire liability, and your exclusive remedy, with respect to any Services(s) provided under this Agreement and any breach of this Agreement is solely limited to such Service(s). We and our contractors shall not be liable for any direct, indirect, incidental, special or consequential damages resulting from the use or inability to use any of the Services or for the cost of procurement of substitute services. Because some jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, in such jurisdictions, our liability is limited to the extent permitted by law. We disclaim any and all loss or liability resulting from, but not limited to: (1) loss or liability resulting from access delays or access interruptions; (2) loss or liability resulting from data non-delivery or data mis-delivery; (3) loss or liability resulting from acts of God; (4) loss or liability resulting from the unauthorized use or misuse of your affiliate identifier or password; (5) loss or liability resulting from errors, omissions, or misstatements in any and all information or services(s) provided under this Agreement; (6) loss or liability resulting from the interruption of your Service. You agree that we shall not be liable for any loss of registration and use of your affiliate name, or for interruption of business, or any indirect, special, incidental, or consequential damages of any kind (including lost profits) regardless of the form of action whether in contract, tort (including negligence), or otherwise, even if we have been advised of the possibility of such damages.</p> 
                 <p><b>11. INDEMNITY</b>. You agree to release, indemnify, and hold us, our contractors, agents, employees, officers, directors and affiliates harmless from all liabilities, claims and expenses, including attorney\'s fees, from claims by third parties, including but not limited to ' . STORE_NAME . ' relating to or arising under this Agreement, the Services provided hereunder or your use of the Services, including without limitation infringement by you, or someone else using the Service with your computer, of any intellectual property or other proprietary right of any person or entity, or from the violation of any of our operating rules or policy relating to the service(s) provided. You also agree to release, indemnify and hold us harmless pursuant to the terms and conditions contained in the ' . STORE_NAME . ' Dispute Policy. When we are threatened with suit by a third party, we may seek written assurances from you concerning your promise to indemnify us; your failure to provide those assurances may be considered by us to be a breach of your Agreement and may result in deactivation of your domain name.</p>
                 <p><b>12. BREACH.</b> You agree that failure to abide by any provision of this Agreement, any operating rule or policy or the Dispute Policy, may be considered by us to be a material breach and that we may provide a written notice, describing the breach, to you. If within thirty (30) calendar days of the date of such notice, you fail to provide evidence, which is reasonably satisfactory to us, that you have not breached your obligations under the Agreement, then we may delete the registration of your affiliate. Any such breach by you shall not be deemed to be excused simply because we did not act earlier in response to that, or any other, breach by you.</p>
                 <p style="margin-top: 0; margin-bottom: 0"><b>13. DISCLAIMER OF WARRANTIES.</b> You agree that your use of our Services is solely at your own risk. You agree that such Service(s) is provided on an "as is," "as available" basis. We expressly disclaim all warranties of any kind, whether express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose and non-infringement. We make no warranty that the Services will meet your requirements, or that the Service(s) will be uninterrupted, timely, secure, or error free; nor do we make any warranty as to the results that may be obtained from the use of the Service(s) or as to the accuracy or reliability of any information obtained through the Service or that defects in the Service will be corrected. You understand and agree that any material and/or data downloaded or otherwise obtained through the use of Service is done at your own discretion and risk and that you will be solely responsible for any damage to your computer system or loss of data that results from the download of such material and/or data. We make no warranty regarding any goods or services purchased or obtained through the Service or any transactions entered into through the Service. No advice or information, whether oral or written, obtained by you from us or through the Service shall create any warranty not expressly made herein. <br> </p>
                 <p style="margin-top: 0; margin-bottom: 0"><b>14. REVOCATION.</b> Your willful provision of inaccurate or unreliable information, your willful failure promptly to update information provided to us, or your failure to respond for over fifteen calendar days to inquiries by us concerning the accuracy of contact details associated with the your affiliate registration shall constitute a material breach of this Agreement and be a basis for cancellation of the affiliate registration.</p>
                 <p style="margin-top: 0; margin-bottom: 0"><br><b>15. RIGHT OF REFUSAL.</b> We, in our sole discretion, reserve the right to refuse to register or reserve your chosen affiliate name within thirty (30) calendar days from receipt of your affiliate registration. You agree that we shall not be liable to you for loss or damages that may result from our refusal to register, reserve, or delete your affiliate name or register you for other Services.</p>
                 <p style="margin-top: 0; margin-bottom: 0"><br><b>16. SEVERABILITY.</b> You agree that the terms of this Agreement are severable. If any term or provision is declared invalid or unenforceable, that term or provision will be construed consistent with applicable law as nearly as possible to reflect the original intentions of the parties, and the remaining terms and provisions will remain in full force and effect.</p>
                 <p style="margin-top: 0; margin-bottom: 0"><br><b>17. NON-AGENCY.</b> Nothing contained in this Agreement or the Dispute Policy shall be construed as creating any agency, partnership, or other form of joint enterprise between the parties.</p>
                 <p style="margin-top: 0; margin-bottom: 0"> </p><p style="margin-top: 0; margin-bottom: 0"><b>18. ENTIRETY</b>. You agree that this Agreement, the rules and policies published by us are the complete and exclusive agreement between you and us regarding our Services. This Agreement and the Dispute Policy supersede all prior agreements and understandings, whether established by custom, practice, policy or precedent.</p>
                 <p style="margin-top: 0; margin-bottom: 0"><br><b>19. GOVERNING LAW.</b> This Agreement shall be governed by and interpreted and enforced in accordance with the LAWS OF the State of Texas. Any action relating to this Agreement must be brought in Texas and you irrevocably consent to the jurisdiction of such courts.</p>
                 <p style="margin-top: 0; margin-bottom: 0"><br><b>20. INFANCY.</b> You attest that you are of legal age to enter into this Agreement.</p>
                 <p style="margin-top: 0; margin-bottom: 0"> </p>
                 <p style="margin-top: 0; margin-bottom: 0"><b>21. Acceptance of Agreement.</b> YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT AND AGREE TO ALL ITS TERMS AND CONDITIONS. YOU HAVE INDEPENDENTLY EVALUATED THE DESIRABILITY OF THE SERVICE AND ARE NOT RELYING ON ANY REPRESENTATION AGREEMENT, GUARANTEE OR STATEMENT OTHER THAN AS SET FORTH IN THIS AGREEMENT.</p>');

Link to comment
Share on other sites

I have a situation where I want to allow affiliates to be able to pass out paper fliers that have their ID number that will allow them to obtain credit for the sale. Do not want to have to provide a complex URL that the customer must type in.

 

My proposed solution is for the customer to have a field that they either fill out when they register (I realize that this would allow the affiliate to obtain commission for all future sales from this customer), or a field that they complete during the check out process.

 

From my review of the Affil code, it appears that I could add a text box in either location and pass a value for "affiliate_ref", but I don't want to supercede the "ref" value if a banner click actually occurred.

 

Have reviewed the 64 pages of postings and although I saw a reference the question I did not see a proposed solution. Snowman did mention "Ian's offercode contribution" as a potential solution, but I was unable to find this contribution.

 

Not well versed in php; any recommendations for a solution and/or code snippets would be appreciated.

 

Regards,

Link to comment
Share on other sites

Hi jackal!

 

You will do well do instead use CCGV (Credit Class Gift Voucher) contribution. It can generate a unique reference number/code that is time-limited (defined by you) .. so your fliers can be put to more effective use.

 

HTH

 

PP

Link to comment
Share on other sites

finsihed the faq added 16 Q & A for the most common edit to suite your needs

 

edit your affiliate language files and add the following

/catalog/includes/languages/

 

affiliate_english

affiliate_german

affiliate_spanish

 

add after line 30

 

for english

define('BOX_AFFILIATE_TERMS', 'Affiliate Terms & Conditions');

define('BOX_AFFILIATE_SIGNUP', 'Click Here');

 

for german

define('BOX_AFFILIATE_TERMS', 'Tochtergesellschaft-Fristen? Bedingungen');

define('BOX_AFFILIATE_SIGNUP', 'Klick Hier');

 

for spanish

define('BOX_AFFILIATE_TERMS', '?T?rminos de Afiliado? Condiciones');

define('BOX_AFFILIATE_SIGNUP', 'Chasquido Aqu?');

 

 

edit affiliate_faq.php in catalog/includes/language/english/

same for the other languages

 

go to line 22 and replace everything after with the following

 

<li><a href="' . tep_href_link('affiliate_faq.php') . '#1"><font color="maroon"><b><strong>Question </strong></b> </font>Does it cost anything to be an Affiliate Partner?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#2"><font color="maroon"><b><strong>Question </strong></b> </font>How long before my order starts?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#3"><font color="maroon"><b><strong>Question </strong></b> </font>Promotion of '. STORE_NAME .'?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#4"><font color="maroon"><b><strong>Question </strong></b> </font>Processing of Orders?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#5"><font color="maroon"><b><strong>Question </strong></b> </font>Referral Commissions?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#6"><font color="maroon"><b><strong>Question </strong></b> </font>Changes in Prices?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#7"><font color="maroon"><b><strong>Question </strong></b> </font>Tax Purposes?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#8"><font color="maroon"><b><strong>Question </strong></b> </font>Disclaimer?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#9"><font color="maroon"><b><strong>Question </strong></b> </font>What is the Refund Policy?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#10"><font color="maroon"><b><strong>Question </strong></b> </font>Can I profit by using your service?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#11"><font color="maroon"><b><strong>Question </strong></b> </font>What page should I send my visitors?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#12"><font color="maroon"><b><strong>Question </strong></b> </font>Do you send me banner impressions?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#13"><font color="maroon"><b><strong>Question </strong></b> </font>Can nonprofit groups join the program?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#14"><font color="maroon"><b><strong>Question </strong></b> </font>Does your web site qualify?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#15"><font color="maroon"><b><strong>Question </strong></b> </font>What\'s this about preferred partners?</a>
<li><a href="' . tep_href_link('affiliate_faq.php') . '#16"><font color="maroon"><b><strong>Question </strong></b> </font>Can I buy through my own site?</a>
</ul>
<hr width ="90%">
<BR>
<FONT COLOR="#000000" size="4"><B><U>Frequently Asked Questions</U></B></FONT><br>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><br><font color="maroon"><b><strong>Q.</strong></b> Does it cost anything to be an Affiliate Partner?</font><a name="1"><br></a><br><b><strong>A.</strong></b> NO! There are no fees of any kind to become an Affiliate Partner. You get paid for any sale made when a visitor from your site purchases any of our products. Even if this person doesn\'t buy immediately, but waits up to 60 days to return to salehut.com and make the purchase, you will still get 25% per sale. There are no hidden costs to you for joining our Affiliate Partner Program. It\'s easy and you can begin earning money today..</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><b><strong>Q.</strong></b> How long before my order starts?</font><a name="2"><br></a><br><b><strong>A.</strong></b> We will approve your website and traffic will start going to your website within 24-48 hours during normal business hours.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><b><strong>Q.</strong></b> Promotion of '. STORE_NAME .'?</font><a name="3"><br></a><br><b><strong>A.</strong></b> You will be provided all the links and banners for you to place on your website and use in your promotions. You may not change or alter any banners provided without written permission from '. STORE_NAME .'. <font color="#ff0000">Please do not SPAM. Anyone caught spamming will be immediately removed from the Affiliate Program and all commissions will be forfeited.</font></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><b><strong>Q.</strong></b> Processing of Orders?</font><a name="4"><br></a><br><b><strong>A.</strong></b> We will process all customer orders that come from your website. In order to receive commissions on their purchases, please make sure you have your affiliate links all have your affiliate ID Number.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><b><strong>Q.</strong></b> Referral Commissions?</font><a name="5"><br></a><br><b><strong>A.</strong></b> We will pay you 25% commission on each customer purchase from your website link. When a new affiliate joins the '. STORE_NAME .' Affiliate Program by clicking on your link, you will be paid 25% of all the sales they make.<br><br>We will pay you every week on Saturday and no later than the following Monday.  Once you have made $25 or more in sales for that week, you will be eligible for payment. If you made less than $25, you will be paid the next week when you have made at least $25 in commissions. In the event that we issue a customer refund, we will deduct the commission amount from your commissions.<br><br>We make all our affiliate payments through Paypal or Direct Bank Transfers. Please sign up for Paypal (It is a FREE service) at <a href="https://www.paypal.com/affil/pal=V5VP3YJWEGRMU">https://www.paypal.com/</a> in order to receive your affiliate payment.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><b><strong>Q.</strong></b> Changes in Prices?</font><a name="6"><br></a><br><b><strong>A.</strong></b> We advise against putting links on your website that quote a price from '. STORE_NAME .' as we might change the prices regularly in order to stay competitive. We will not be held accountable by any customer linking to us from your website quoting a specific product price they might have seen on your website.<br></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Tax Purposes?</font><a name="7"><br></a><br><b><strong>A.</strong></b> For those living in the United States, it is your responsibility to keep an account of your earnings and file your Federal and State taxes based upon your earnings made through '. STORE_NAME .'.<br><BR>United States residents will file a Form 1099. You can receive the forms by going to <A href="http://www.irs.gov/">http://www.irs.gov/</A><BR>Those living outside United States should file according to their country tax procedures.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Disclaimer?</font><a name="8"><br></a><br><b><strong>A.</strong></b> We do not guarantee any sales through your affiliation with '. STORE_NAME .'. 
Your success is based on your advertising efforts.<br>
<br>
<li>-Any confidential information including our special affiliate sales, prices etc. 
will remain confidential and not be used for any other purposes other than those 
stated in the information agreement.<br>
<br>
</li>
<li>-We will not be liable for any loss of revenue, special or consequential 
damages arising from connection to this agreement.<br>
<br>
</li>
<li>-You hereby agree to indemnify, defend and hold harmless '. STORE_NAME .' 
and all it\'s affiliates from and against any and all claims, demands, losses, 
liabilities, damages or expenses whatsoever.<br>
<br>
</li>
<li>-We reserve the right to modify this agreement if the need arises and at 
which time, you will be notified of the changes and be asked to view the <b>
<a href="' . tep_href_link(FILENAME_AFFILIATE_TERMS). '">' . BOX_AFFILIATE_TERMS . '</a></b>.<br>
<br>
</li>
<li>-There are no commissions on the CPL Acquisition Leads, Extreme Targeting 
and products listed on the "Advertise with us" page.</li>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> What is the Refund Policy?</font><a name="9"><br></a><br><strong>A.</strong></b> There will be no other refunds, otherwise stated here. Remember, we cannot guarantee sales or signups. It is up to your website to do the selling.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Can I profit by using your service?</font><a name="10"><br></a><br>Although we cannot guarantee any sales, customers have told us that they have had from a 0.1%-1% response rate.</FONT></A> 
           <font color="#000000" size="2">Assuming you had a product that people wanted 
and were willing to pay for and you made a $20 profit on each sale, with a 0.1% 
response rate (1 sale per 1,000 visitors) the following </font>
<font color="#ff0000" size="2">hypothetical </font><font size="2">scenario would 
result:<br></font><br><font color="#000000" size="2"></p>
<table borderColor="#b04810" height="109" width="553" border="1">
 <tr>
   <td align="middle" width="84" bgColor="#ff8429" height="16"><a name="top">
   <b><font size="2"># of </font></b></a><font size="2"><b>Visitors</b> </font>
   </td>
   <td align="middle" width="121" bgColor="#ff8429" height="16">
   <font color="#000000"><b><font size="2">Advertising Cost</font></b></font><font size="2">
   </font></td>
   <td align="middle" width="152" bgColor="#ff8429" height="16">
   <font color="#000000" size="2"><b>Your Sales Profit</b> </font></td>
   <td align="middle" width="146" bgColor="#ff8429" height="16"><b>
   <font size="2">Your Net Profit</font></b><font size="2"> </font></td>
   <td align="middle" width="184" bgColor="#ff8429" height="16"><a name="top">
   <b><font size="2">Rate of Return (ROI)</font></b></a><font size="2"> </font>
   </td>
 </tr>
 <tr>
   <td width="84" bgColor="#ffb573" height="13"><b><font size="2">20,000</font></b></td>
   <td width="121" bgColor="#ffb573" height="13"><b><font size="2">$129</font></b></td>
   <td width="152" bgColor="#ffb573" height="13"><a name="top"><b>
   <font size="2">$400</font></b></a><font size="2"> </font></td>
   <td width="146" bgColor="#ffb573" height="13"><b><font size="2">$271</font></b><font size="2">
   </font></td>
   <td width="184" bgColor="#ffb573" height="13"><b><font size="2">210%</font></b><font size="2">
   </font></td>
 </tr>
 <tr>
   <td width="84" bgColor="#ffb573" height="16"><b><font size="2">40,000</font></b></td>
   <td width="121" bgColor="#ffb573" height="16"><b><font size="2">$220</font></b></td>
   <td width="152" bgColor="#ffb573" height="16"><a name="top"><b>
   <font size="2">$800</font></b></a><font size="2"> </font></td>
   <td width="146" bgColor="#ffb573" height="16"><b><font size="2">$580</font></b><font size="2">
   </font></td>
   <td width="184" bgColor="#ffb573" height="16"><b><font size="2">264%</font></b><font size="2">
   </font></td>
 </tr>
 <tr>
   <td width="84" bgColor="#ffb573" height="16"><b><font size="2">100,000</font></b></td>
   <td width="121" bgColor="#ffb573" height="16"><b><font size="2">$499</font></b></td>
   <td width="152" bgColor="#ffb573" height="16"><a name="top"><b>
   <font size="2">$2,000</font></b></a><font size="2"> </font></td>
   <td width="146" bgColor="#ffb573" height="16"><b><font size="2">$1,501</font></b></td>
   <td width="184" bgColor="#ffb573" height="16"><b><font size="2">301%</font></b></td>
 </tr>
 <tr>
   <td width="84" bgColor="#ffb573" height="18"><b><font size="2">500,000</font></b></td>
   <td width="121" bgColor="#ffb573" height="18"><b><font size="2">$1,699</font></b></td>
   <td width="152" bgColor="#ffb573" height="18"><b><font size="2">$10,000</font></b><font size="2">
   </font></td>
   <td width="146" bgColor="#ffb573" height="18"><b><font size="2">$8,301</font></b></td>
   <td width="184" bgColor="#ffb573" height="18"><b><font size="2">486%</font></b></td>
 </tr>
 <tr>
   <td width="84" bgColor="#ffb573" height="18"><b><font size="2">1,000,000</font></b></td>
   <td width="121" bgColor="#ffb573" height="18"><b><font size="2">$2,999</font></b></td>
   <td width="152" bgColor="#ffb573" height="18"><a name="top"><b>
   <font size="2">$20,000</font></b></a><font size="2"> </font></td>
   <td width="146" bgColor="#ffb573" height="18"><b><font size="2">$17,001</font></b></td>
   <td width="184" bgColor="#ffb573" height="18"><b><font size="2">567%</font></b></td>
 </tr>
</table>
</font>
<p>ROI: Rate of Return =  (Net Profit / Advertising Cost ) x 
100<br>
<br>
</font><font color="#ff0000">Please realize that the above scenario is 
hypothetical and does not guarantee that you will achieve results as shown 
above. It all depends on if your product or business offer is what customers are 
looking for.</font>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> What page should I send my visitors?</font><a name="11"><br></a><br><b><strong>A.</strong></b> It depends. Would you like to brand your company name so that people remember who you are, so whenever they need the product you are offering they would come to you first? In this case, it would be best to send visitors to your homepage.<BR>For increasing sales and signups, unless if your homepage does a great job of grabbing your visitors\' attention and selling your product or service, we suggest that you create a full page ad or special offer page that catches their eyes so they respond well to your offer.<BR><BR>Always give your visitors a good reason to stay on your site and take action. So remember to create an objective that grabs their attention.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Do you send me banner impressions?</font><a name="12"><br></a><br><b><strong>A.</strong></b> No! Select The product you would like to Promote and place a the banner on your site.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Can nonprofit groups join the program?</font><a name="13"><br></a><br><b><strong>A.</strong></b> Absolutely! Nonprofit groups can use this free program for lucrative fundraising while helping their visitors find '. STORE_NAME .' service and great products.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Does your web site qualify?</font><a name="14"><br></a><br><b><strong>A.</strong></b> Almost all web sites will qualify to participate, please note content is required, you cannot just redirect to our site. We also ask that you do not submit web sites deemed unsuitable, such as:<br><br><li>Sites that promote sexually explicit material <li>Sites that participate in or promote any illegal activity.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> What\'s this about preferred partners?</font><a name="15"><br></a><br><b><strong>A.</strong></b> We reward our Affiliate Partners. We will often have special promotions, extra commissions and prizes for our Affiliate Partners. Our preferred partner program is just one of those. Don\'t worry, as an active Affiliate Partner we will keep you posted about the latest incentives and promotions.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
<p style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><font color="maroon"><strong>Q.</strong></b> Can I buy through my own site?</font><a name="16"><br></a><br><b><strong>A.</strong></b> Yes. You and anyone you know can purchase via your site. All completed sales will result in commissions for you. The bottom line is, the better you fit our advertisments to your website, the more money you make. It\'s that simple. Ready to sign up? <a href="' . tep_href_link(FILENAME_AFFILIATE_SIGNUP). '">' . BOX_AFFILIATE_SIGNUP . '</a> to get started.</p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"><a href="' . tep_href_link('affiliate_faq.php') . '#0">top</a></p>
<p align="right" style="line-height: 100%; word-spacing: 0; text-indent: 0; margin: 0"> </p>
');
?>

Link to comment
Share on other sites

for the affiliate_faq.php in language directory

 

forgot to add where to change the paypal affiliate number you will need to your affiliate numer to your paypal affiliate numer

 

on line 55 look for V5VP3YJWEGRMU and change

 

if some one doesn't have a paypal account and they sign up using your affiliate numer your get $5 not much but every little bits helps

Link to comment
Share on other sites

Hello All,

I have installed OsAffilate lateset snapshop form sf.net.

I have it all working excpect 2 problems. and I want to thank all of you for this great effort. I really like this contrib.

 

Problem 1: :( Images not showing up in Build Link Feature. Here is what I get

<a href="http://www.frontiersofhealth.com/product_info.php?ref=2&products_id=1182&affiliate_banner_id=1" target="_blank"><img src="http://www.frontiersofhealth.com/images/" border="0" alt="Atlast Bars (16 bars/Box)"></a>

The above is what the Build link spits out. the problem is the img srv goes to the top level images dir without the image name.

 

Problem 2: :( whenever I try to log in as an affilate from the affilate login page I get a 404 error. I think this has somthing to with the SSL feature. and the same happens on the affliate forgot password page. just get a 404 any ideas?

This is a live store and I hve been beating my brains out on theis code. i've went over every post on this topic and found nothing. I went over all the post over at sf.net and still found nothing.

thanks in advance!!! :D

<span style='font-family:Courier'>If you can't fix it Perl it!!!...</span>

******************************

Link to comment
Share on other sites

as for problem number 1

Go into /catalog/includes/affiliate configure.php

change

define('AFFILIATE_KIND_OF_BANNERS','2');          //

Change above to

define('AFFILIATE_KIND_OF_BANNERS','1');          //

 

I will get back to you on the second problem

Link to comment
Share on other sites

Hello Tony,

thanks for the help...

but the same thing still happens. it's not grabbing the image src name....

this is boggling me to hell.

I really want to get this thing working....

if you go to my store and sign up as a affilate you can see what the problem is. I got the images working on the admin side. but not the build link function

thanks again!

<span style='font-family:Courier'>If you can't fix it Perl it!!!...</span>

******************************

Link to comment
Share on other sites

Please help.

 

I have installed this contrib vers 1.01 on an MS1 store and I too am having problems with the banners displaying while using this setting.

 ?
define('AFFILIATE_KIND_OF_BANNERS','2');

 

I currently have it set to debug mode and everything looks fine. You are welcome to take a peek at http://secure00.secure-transact.net/~testi...ate_banner_id=2

 

Banner does display just fine if I use the setting of 1. Though the build a link would not add the products_image to the img tag using this setting. I was able to rectify it by changing

 

this: $affiliate_pbanners['affiliate_banners_image']

to this: $affiliate_pbanners['products_image']

 

Any ideas on why they won't display with the setting of '2' would be greatly appreciated.

 

TIA,

 

Trina

Edited by kcornell
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...