No announcement yet.

Pumping up the affiliate program

  • Filter
  • Time
  • Show
Clear All
new posts

  • Pumping up the affiliate program

    The affiliate program is pretty bare bones. I'd prefer using more robust 3rd party software, but assuming that I can't, I'd like to make a few changes to 3dcart's affiliate program.

    1. First is the number of banners. A limit of 3 is surprisingly low. According to this thread, the number can be increased by changing the [intBannerCount] variable in affiliate.html. It seems that the value of [intBannerCount] is set in another file or database. How can I change it?

    2. I'd like to add text banners, kind of along the lines of "Click here to get 90% off of Live Forever and be prepared to see the next millenium!". Any suggestions on how best to do that?

    3. I can't find where to modify the existing text. In affiliate.html content seems to be included with fields like [affiliate_details-link-instructions]. How can this text be edited?


  • #2
    You can edit the affiliate.html template and hard code any links, banners, etc.

    The Affiliate's link is simply:


    (The software will replace affid with the affiliate looking at the page)

    The software takes this code block from the affilaite.html template

    HTML Code:
    <!--START: affiliateLinksDetails-->
    									<td class="item"><table width="100%" border="0" cellspacing="5" cellpadding="5">
    												<td><a href="[store_url]/?AffId=[affId]"><img border="0" src="[affBannersFolder]affiliateBanner[intBannerCount].jpg"></a> <br>
    													<table width="100%" border="0" cellspacing="1" cellpadding="5" class="alternative">
    															<td class="titles2"><a class="highlighttext" href="javascript:HighlightAll('[intBannerCount]')">Click 
    																here to "Select All Code"</a></td>
    															<td align="center"><textarea name="select[intBannerCount]" rows="5" cols="80" wrap="VIRTUAL" class="txtareaStyle"><a href="[store_url]/?AffId=[affId]"><img border="0" src="[store_url][affBannersFolder]affiliateBanner[intBannerCount].jpg"></a></textarea>
    								<!--END: affiliateLinksDetails-->
    And repeats it for each banner. You can remove that entire block, and make your own set of banners, text links, whatever you like, just ensure that you use


    When you want to reference the link.

    If the affiliate program doesn't have the features you need, you can also use any third party affiliate program including Shareasale, Comission Junction, Linkshare, etc.
    Gonzalo Gil
    3dCart Support
    800-828-6650 x111


    • #3
      Can someone help me add more affiliate banners

      Just been reading through the posts about the affiliate banner short comings. Was hoping someone more experienced in HTML could get me a little closer to being able to post the 20-30 affiliate banners I have? Please, pretty please?

      Thanks in advance!