Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 69
  1. #51
    Join Date
    Nov 2005
    Posts
    278
    Plugin Contributions
    0

    red flag Re: Affiliate program module???

    How do you get JROX.COM Affiliate Manager to work with Zencart? I have 1.3.6 what do i need to get this to work with my site?

  2. #52
    Join Date
    Aug 2006
    Posts
    47
    Plugin Contributions
    0

    Default Re: Affiliate program module???

    Hello,

    You will need to use a tpl_footer.php override file, which you upload into the checkout_success folder in the zencart theme that you use.

  3. #53
    Join Date
    Nov 2005
    Posts
    278
    Plugin Contributions
    0

    Default Re: Affiliate program module???

    Quote Originally Posted by jroxonline View Post
    Hello,

    You will need to use a tpl_footer.php override file, which you upload into the checkout_success folder in the zencart theme that you use.
    Thanks for getting back to me, can you explain what needs to be change how I make the changes and where and what I do after?

    Thanks,
    Adam.

  4. #54
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Affiliate program module???

    In your JAM download there should have been a folder for zen cart,
    in this is the correct file to upload

    it will go into
    includes/templates/YOUR TEMPLATES/checkout_success/
    Zen cart PCI compliant Hosting

  5. #55
    Join Date
    Nov 2005
    Posts
    278
    Plugin Contributions
    0

    Default Re: Affiliate program module???

    Quote Originally Posted by Merlinpa1969 View Post
    In your JAM download there should have been a folder for zen cart,
    in this is the correct file to upload

    it will go into
    includes/templates/YOUR TEMPLATES/checkout_success/
    Thanks for getting back to me, there is no folder for Zen Cart.

  6. #56
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Affiliate program module???

    Ok get the file from hre
    http://jam.jrox.com/v1/updates/zenca...r_override.zip

    then

    #

    Once you have downloaded this file, open up the tpl_footer.php file, and edit the following code:



    ##########################################

    ## START JAM INTEGRATION WITH ZEN CART ##

    ## ZC Integration code by DrByte 8/2006 ##

    ##########################################

    if ((int)$orders_id > 0) {

    $JAM = $db->Execute("select class, value from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders_id."' AND class in ('ot_coupon', 'ot_subtotal', 'ot_group_pricing')");

    while (!$JAM->EOF) {

    switch ($JAM->fields['class']) {

    case 'ot_subtotal':

    $order_subtotal = $JAM->fields['value'];

    break;

    case 'ot_coupon':

    $coupon_amount = $JAM->fields['value'];

    break;

    case 'ot_group_pricing':

    $group_pricing_amount = $JAM->fields['value'];

    break;

    }

    $JAM->MoveNext();

    }

    $commissionable_order = ($order_subtotal - $coupon_amount - $group_pricing_amount);

    $commissionable_order = number_format($commissionable_order,2,'.',',');

    echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.yourdomain.com/affiliates/sale.php?amount=$commissionable_order&trans_id=$orders_id\"></script></td></tr>

    </table>";

    }

    #######################################

    ## END JAM INTEGRATION WITH ZEN CART ##

    #######################################




    #

    Change www.yourdomain.com/affiliates to point to your affiliate URL.

    #

    Save the file, and upload it to your template directory: /includes/templates/custom/checkout_succes/tpl_footer.php. custom is your template directory that you are currently using. Also, if there is no checkout_success folder there, just create it, and upload tpl_footer.php into it.

    #

    You will now have JAM integrated into Zen Cart.
    Zen cart PCI compliant Hosting

  7. #57
    Join Date
    Nov 2005
    Posts
    278
    Plugin Contributions
    0

    Default Re: Affiliate program module???

    Quote Originally Posted by Merlinpa1969 View Post
    Ok get the file from hre
    http://jam.jrox.com/v1/updates/zenca...r_override.zip

    then

    #

    Once you have downloaded this file, open up the tpl_footer.php file, and edit the following code:



    ##########################################

    ## START JAM INTEGRATION WITH ZEN CART ##

    ## ZC Integration code by DrByte 8/2006 ##

    ##########################################

    if ((int)$orders_id > 0) {

    $JAM = $db->Execute("select class, value from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders_id."' AND class in ('ot_coupon', 'ot_subtotal', 'ot_group_pricing')");

    while (!$JAM->EOF) {

    switch ($JAM->fields['class']) {

    case 'ot_subtotal':

    $order_subtotal = $JAM->fields['value'];

    break;

    case 'ot_coupon':

    $coupon_amount = $JAM->fields['value'];

    break;

    case 'ot_group_pricing':

    $group_pricing_amount = $JAM->fields['value'];

    break;

    }

    $JAM->MoveNext();

    }

    $commissionable_order = ($order_subtotal - $coupon_amount - $group_pricing_amount);

    $commissionable_order = number_format($commissionable_order,2,'.',',');

    echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.yourdomain.com/affiliates/sale.php?amount=$commissionable_order&trans_id=$orders_id\"></script></td></tr>

    </table>";

    }

    #######################################

    ## END JAM INTEGRATION WITH ZEN CART ##

    #######################################




    #

    Change www.yourdomain.com/affiliates to point to your affiliate URL.

    #

    Save the file, and upload it to your template directory: /includes/templates/custom/checkout_succes/tpl_footer.php. custom is your template directory that you are currently using. Also, if there is no checkout_success folder there, just create it, and upload tpl_footer.php into it.

    #

    You will now have JAM integrated into Zen Cart.
    Thanks for all your support I'll see if I can get it to work.

  8. #58
    Join Date
    Jan 2005
    Location
    Winter Haven, FL
    Posts
    163
    Plugin Contributions
    0

    Default Re: Affiliate program module???

    ***please don't hijack the thread***
    Last edited by Kim; 12 Nov 2006 at 06:43 PM.

  9. #59
    Join Date
    Nov 2005
    Posts
    278
    Plugin Contributions
    0

    database error Re: Affiliate program module???

    Quote Originally Posted by Merlinpa1969 View Post
    Ok get the file from hre
    http://jam.jrox.com/v1/updates/zenca...r_override.zip

    then

    #

    Once you have downloaded this file, open up the tpl_footer.php file, and edit the following code:



    ##########################################

    ## START JAM INTEGRATION WITH ZEN CART ##

    ## ZC Integration code by DrByte 8/2006 ##

    ##########################################

    if ((int)$orders_id > 0) {

    $JAM = $db->Execute("select class, value from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders_id."' AND class in ('ot_coupon', 'ot_subtotal', 'ot_group_pricing')");

    while (!$JAM->EOF) {

    switch ($JAM->fields['class']) {

    case 'ot_subtotal':

    $order_subtotal = $JAM->fields['value'];

    break;

    case 'ot_coupon':

    $coupon_amount = $JAM->fields['value'];

    break;

    case 'ot_group_pricing':

    $group_pricing_amount = $JAM->fields['value'];

    break;

    }

    $JAM->MoveNext();

    }

    $commissionable_order = ($order_subtotal - $coupon_amount - $group_pricing_amount);

    $commissionable_order = number_format($commissionable_order,2,'.',',');

    echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.yourdomain.com/affiliates/sale.php?amount=$commissionable_order&trans_id=$orders_id\"></script></td></tr>

    </table>";

    }

    #######################################

    ## END JAM INTEGRATION WITH ZEN CART ##

    #######################################




    #

    Change www.yourdomain.com/affiliates to point to your affiliate URL.

    #

    Save the file, and upload it to your template directory: /includes/templates/custom/checkout_succes/tpl_footer.php. custom is your template directory that you are currently using. Also, if there is no checkout_success folder there, just create it, and upload tpl_footer.php into it.

    #

    You will now have JAM integrated into Zen Cart.
    Hi me again,
    I have completed all of the above and uploaded the file to my server but I cant see how it's working with my online store. I have signed up as a new customer and have no been informed of the service or a link etc and lso as an old customer there is also no details within my account area.

    How does this work, I want to be able to offer customers money each month for making a number of purchases etc?

    Any help would be good.

    Thanks,
    Adam.

  10. #60
    Join Date
    Aug 2006
    Posts
    47
    Plugin Contributions
    0

    Default Re: Affiliate program module???

    JAM has a different database than Zencart.

    For it to work, you will need to signup as an affiliate, click on the affiliate link, then place an order in your zencart store for a commission to be generated for your affiliate.

    You can use the automatic signup module as well, if you want customers to become affiliates in JAM.

 

 
Page 6 of 7 FirstFirst ... 4567 LastLast

Similar Threads

  1. affiliate program!
    By alhakeem2001 in forum General Questions
    Replies: 5
    Last Post: 21 Oct 2009, 09:44 PM
  2. JROX Affiliate Program NOT recording Affiliate Sales
    By PhysiqueBoutique in forum General Questions
    Replies: 6
    Last Post: 17 Oct 2008, 10:34 AM

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