Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Jrox JAM integration

    You posted:
    <script language="JavaScript" type="text/javascript" src="http://www.the_site_name.co.uk/jamaffiliates/sale.php?amount=0.04&trans_id=126>

    When it should be:
    <script language="JavaScript" type="text/javascript" src="http://www.the_site_name.co.uk/jamaffiliates/sale.php?amount=0.04&trans_id=126" />

    If not a typo and the URL is missing the closing quotes and / then you need to correct your coding.

  2. #2
    Join Date
    Mar 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Jrox JAM integration



    Actually domain was in there but you did get me to delve into the code with a bit more care!! One of the variable names was slightly different from the code so am guessing that was it.
    I actually had to use the same footer in includes/templates/template_default/common and the cherry_zen one as the checkout_success from within cherry_zen was not overriding for some reason.
    Think i may have confused myself!

    Thanks for the quick answer though

  3. #3
    Join Date
    Mar 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Jrox JAM integration

    OK, this is now getting on my nerves. I now have nothing appearing on the checkout success page.

    tpl_footer is in includes/templates/cherry_zen/checkout_success so why on earth is it not included at the checkout success page.

    Surely that is the override for that part.

    Please help!!!

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Jrox JAM integration

    You need to be more specific about your file names and paths.

    Customized "tpl_footer.php" should be in:
    includes/templates/cherry_zen/common/

    Customized Checkout success would be here:
    includes/templates/cherry_zen/templates/checkout_success_default.php

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Jrox JAM integration

    Quote Originally Posted by Website Rob View Post
    Customized "tpl_footer.php" should be in:
    includes/templates/cherry_zen/common/
    That is true if the intent is to do that site-wide.

    But, if you want to do it on a page-specific level, the following works too:
    /includes/templates/NAME_OF_CUSTOM_TEMPLATE/NAME_OF_PAGE/filename
    ie:
    /includes/templates/cherry_zen/checkout_success/tpl_footer.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Mar 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Jrox JAM integration

    Thanks for replies

    Have i think sorted it - the code from the JAM site didn't seem to do as required for some reason but now working. The override is fine doing it as i originally did in ../cherrry_zen/checkout_success.
    Whether it was solely the code or the fact the shop is on a different domain to JAM i am not sure but seems to be working now and commission going to the right place so i think i will leave well alone!!

    Thanks again

    Of course it could all just be a case of famous last words.....

  7. #7
    Join Date
    Mar 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Jrox JAM integration

    Still working!

    One last thing i need to do - have posted it on the Jrox forum so copied below as someone here may have experience with it.

    Setup all done after a weekend which isn't too bad!
    The only thing is i want to set up affiliate links to individual product pages. I have tried using the method prescribed of replacing the "&" with "%26" but always coming up with page not found or no products.
    The reason is that the affiliate id is getting appended (as it needs to because the shop is on a different server) to the end of the product URL so instead of products_id=2 at the end of the URL i get:

    products_id=251232323123232302323230232323

    Is there any way round this (other than moving servers!)

 

 

Similar Threads

  1. Jam Jrox Affiliate Integration & Customization Questions...
    By JabberWocky in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 22 Apr 2011, 11:41 PM
  2. JROX JAM Affiliate program integration
    By eazy in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 27 Jan 2011, 01:07 AM
  3. New Jrox JAM integration code for 1.3.8
    By schoolboy in forum General Questions
    Replies: 16
    Last Post: 4 Aug 2009, 01:07 PM
  4. Jam Jrox integration - can't get it to record
    By jasonk in forum General Questions
    Replies: 29
    Last Post: 26 Sep 2008, 07:26 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