Page 8 of 23 FirstFirst ... 67891018 ... LastLast
Results 71 to 80 of 223
  1. #71
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by helpme View Post
    Ok, I understand I think but when I pull up the page the image is still just an x. I have it named ref.468.60.jpg and placed it in the www/images/referrers folder any other help? thanks!!
    Can you provide a link to your site?

  2. #72
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Quote Originally Posted by retched View Post
    Can you provide a link to your site?
    Never mind, I figured it out! Thanks!!

  3. #73
    Join Date
    Aug 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Quote Originally Posted by retched View Post
    I'm sorry I made a wrong statement. It's hardcoded on the files of snap affiliate itself.

    Edit the following in tpl_referrer_main_default.php found in your templates directory:

    Around 80-86:

    PHP Code:
              <td><strong>Current sales</strong></td>
              <td> $<?php echo number_format($unpaid_total2); ?></td>
            </tr>
            <tr>
              <td><strong>Unpaid commission</strong></td>
              <td><strong>$<?php echo number_format($unpaid_commission2); ?></strong></td>
            </tr>
            <tr>
              <td><strong>Year to date sales</strong></td>
              <td> $<?php echo number_format($yearly_total2); ?></td>
            </tr>
            <tr>
              <td><strong>Year to date commission</strong></td>
              <td><strong>$<?php echo number_format($yearly_commission2); ?></strong></td>
            </tr>
          </table>
    Edit the $ that appears before the <?php echo statement to your currency.

    Then further down in the same file:

    Look for:

    PHP Code:
      printf("<td>$%s</td>\n"number_format($entry['amount'], 2)); 
    and

    PHP Code:
      printf("<td>$%s</td>\n"number_format($entry['commission'] * $entry['amount'], 2)); 
    And change the $ in each $%s to the currency of your choosing. For example, to switch to the Yen, change $%s to ¥%s.

    And then finally:

    Change the $'s before the <?php statements in each of the below:
    PHP Code:
    <tr>
     <td style='border-top: 1px dashed grey;'>
      <strong>Totals</strong>
     </td>
     <td style='border-top: 1px dashed grey;'>
       <strong>$<?php echo number_format($activity_total,2); ?></strong>
     </td>
     <td style='border-top: 1px dashed grey;'>
     </td>
     <td style='border-top: 1px dashed grey;'>
      <strong>$<?php echo number_format($activity_commission2); ?></strong>
     </td
     <td style='border-top: 1px dashed grey;'>
     </td>
    </tr>
    </table>
    If you need assistance, send a PM and I'll act on this for you.

    Whatever you do... DO NOT DO A GLOBAL FIND/REPLACE to change the $ or else you may break the coding.
    Thank you for reply...I will try this first..

  4. #74
    Join Date
    Mar 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    I have this mod installed on v1.3.9g however, I do have a problem with some of the entries. If you have more than 50 entries and a second page of referrers, you have to change the last name of the people to actually click on them to change their info.

    This way, they will jump to the first page, change their info and then change their last name again.

    Also, there's no way to delete an entry if someone doesn't "qualify" and there is no way to take $ away if an order was canceled.

  5. #75
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by glamourdolleyes View Post
    I have this mod installed on v1.3.9g however, I do have a problem with some of the entries. If you have more than 50 entries and a second page of referrers, you have to change the last name of the people to actually click on them to change their info.

    This way, they will jump to the first page, change their info and then change their last name again.

    Also, there's no way to delete an entry if someone doesn't "qualify" and there is no way to take $ away if an order was canceled.
    So two problems...

    1) With the admin panel I'm guessing revolving around the listing? I haven't used it beyond 50 myself.

    2) Regarding deleting affiliate transactions: This has troubled me a bit. I don't know if I should include a DELETE option or an EXCLUDE option. I would like to go ahead and make a change that would allow a person to select which orders to pay for.

  6. #76
    Join Date
    Nov 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Great mod! Thanks!

    Are there any plans to add a kind of hit counter on the referreral account page to track the number of hits the referrer is sending?

    Thanks again!

  7. #77
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by sephiroth View Post
    Great mod! Thanks!

    Are there any plans to add a kind of hit counter on the referreral account page to track the number of hits the referrer is sending?

    Thanks again!
    I suppose analytics can be added to this mod though you can easily (kind of) configure Google Analytics to track this for you.

  8. #78
    Join Date
    Jun 2009
    Posts
    33
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Great Mod! Istructions a little vague but it is easy enough to figure out for someone who has experience applying mods!

    Thank you! This was relatively effortless.

    I added the affiliate mod to www.heartsathomestore.com!

  9. #79
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by independenteasel View Post
    Great Mod! Istructions a little vague but it is easy enough to figure out for someone who has experience applying mods!

    Thank you! This was relatively effortless.

    I added the affiliate mod to www.heartsathomestore.com!
    Yeah those instructions are going to be updated soon... I was barely able to follow them when I first started.

  10. #80
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Turns out I forgot to include the instructions on how to do this... that or I forgot where did I include it.

    Many people here, hopefully everyone unless you're local testing, changed their ZenCart Admin directory. Since there is no way to call the admin directory via a constant, when coding you have to make a little work around.

    When a new affiliate submits their information, you will get a link to "log in to the affiliate control panel" that will take you to the /admin directory. Obviously, this is not correct.

    To fix this, follow the following steps:

    - Open root/includes/modules/pages/referrer_signup/header_php.php where root is the root directory of the ZenCart install.
    - Go to line 62 and/or look for:
    PHP Code:
        HTTP_SERVER DIR_WS_CATALOG "admin/referrers.php?referrer=" $_SESSION['customer_id']. "&mode=details"
    - In line change the admin/ to match the name of the directory where your admin is. For example, if your directory was mxyzptlk you would change the above to:
    PHP Code:
        HTTP_SERVER DIR_WS_CATALOG "mxyzptlk/referrers.php?referrer=" $_SESSION['customer_id']. "&mode=details"
    Reupload and from that point forward, affiliate apps will have the correct link.

 

 
Page 8 of 23 FirstFirst ... 67891018 ... LastLast

Similar Threads

  1. v151 Snap Affiliates v2.0 for v1.5.0 and later
    By lat9 in forum All Other Contributions/Addons
    Replies: 459
    Last Post: 21 Feb 2023, 05:13 PM
  2. v151 snap affiliates bitcoins
    By unckle fester in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 6 Jun 2014, 07:44 AM
  3. Snap Affiliates Module?
    By asauterChicago in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 12 Apr 2013, 09:45 AM
  4. snap affiliates not emailing
    By mindcraft in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Apr 2012, 11:19 PM
  5. oh Snap!! Broke it again.
    By Serious in forum Basic Configuration
    Replies: 4
    Last Post: 20 Feb 2011, 05:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR