Results 1 to 2 of 2
  1. #1
    aksi Guest

    Default jrox integration with zencart 1.2.6 and 1.2.7

    I'm trying to integrate JROX Affiliate Manager with two stores, one is running on 1.2.6, and another is on 1.2.7.
    As far as I can understand, the system integration provided by JROX by default is for 1.3.x.

    So, can anyone please describe what I should modify for 1.2.6 and 1.2.7? Please?..

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

    Default Re: jrox integration with zencart 1.2.6 and 1.2.7

    Here's the code for zencart versions below 1.3x:

    Here you go. You need to add this in the includes/modules/pages/checkout_success/header_php.php file
    Code:
    $jam1 = $db->Execute("select * from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders->fields['orders_id']."' AND class = 'ot_subtotal'");
    $jam_zen_1 = (number_format($jam1->fields['value'],2));
    $jam_zen_2 = $jam1->fields['orders_id'];
    print "<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.mysite.com/affiliates/sale.php?amount=$jam_zen_1&trans_id=$jam_zen_2\"></script>"

 

 

Similar Threads

  1. Jrox JAM integration
    By Berzerk in forum General Questions
    Replies: 8
    Last Post: 11 Jan 2011, 08:09 AM
  2. Has anyone integrated jrox affiliate system with zencart?
    By Lagrimas in forum General Questions
    Replies: 59
    Last Post: 5 Feb 2009, 04:35 PM
  3. Zencart & JROX integration into custom membership page
    By rramlani in forum General Questions
    Replies: 4
    Last Post: 27 Jan 2009, 04:48 PM
  4. Zen Cart and Jrox Affiliate Integration with Google Checkout
    By theangel2g in forum General Questions
    Replies: 2
    Last Post: 8 Apr 2007, 10:42 AM

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