Thread: Jrox problem

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2007
    Posts
    39
    Plugin Contributions
    0

    Default Jrox problem

    I tried setting up Jrox affiliate system but for some reason its not working.

    My understanding is if I add their code to /includes/languages/english/checkout_success.php it should work but when I checkout successfully I the

    Your Order Number is: 244
    Thank you for your payment. You will be notified once your order ships
    Thank you for shopping. Please click the Log Off link to ensure that your receipt and purchase information is not visible to the next person using this computer.

    info but viewing the source I get none of the data I put into the checkout_success.php file...

    Is there any reason that file wouldn't be used or am I doing something wrong?

    It looks like its using all the default information here
    /includes/languages/english/checkout_success.php

    What am I doing wrong?

    I have posted on their message board but with no replies yet.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Jrox problem

    You shouldn't be adding code to a languages file.

    Dr Byte & I updated the documentation for this a while ago - did you read the documentation? I'm on the road and don't have it with me now.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Jrox problem

    swguy's right ... there's no reason to touch a language file for the sake of JAM integration.

    Did you follow the setup instructions on the JAM site?
    Please post the link to the instructions you followed.
    What version of Zen Cart are you using?
    .

    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.

  4. #4
    Join Date
    Jan 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Jrox problem

    I'm using 1.3.7 and the docs I used are http://jam.jrox.com/docs/index.php?article=111

    I think maybe I have the wrong custom folder, is there a way to look inside of zencart config to see what my custom folder I am using?

    Someone else set it up for me and am not sure what folder that are using.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Jrox problem

    Yes, you're clearly using the wrong folder.

    If you go back and read the instructions on the page you posted the link to, you'll see that it's talking about a "template" file named "tpl_footer.php" in a folder called "checkout_success".
    It doesn't make any reference to any files in the language folders.

    I suggest going back to it and following it step by step again.


    You can find out the name of your custom template folder by going to Admin->Tools->Template Select and see which template is currently enabled.
    .

    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
    Jan 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Jrox problem

    Ok I see where the confusion is I mis pasted some information in my original post. I did read the instructions and did do what they said I just pasted the wrong path.

    I meant to past this as the first path
    /includes/templates/custom/common/checkout_success/tpl_footer.php

    It doesn't work there its not pulling the file at all so I tired pulling from this path as well
    /includes/templates/custom/checkout_success/tpl_footer.php


    So in total I have pasted the code into
    /includes/templates/custom/checkout_success/tpl_footer.php
    /includes/templates/custom/common/checkout_success/tpl_footer.php
    And neither work.

    After looking at the custom teplates my correct ones are here
    /includes/templates/custom/common/*

    It still is not pulling the correct footer...
    I did look around and tested it and its still pulling from
    /includes/templates/template_default/templates/tpl_checkout_success_default.php

    I can't seem to get it to pull the file from the custom template folder.

    ideas?

  7. #7
    Join Date
    Jan 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Jrox problem

    Modifying this file I got it to work correctly
    /includes/templates/template_default/templates/tpl_checkout_success_default.php

    I still can not get it to pull the correct file from either
    /includes/templates/custom/checkout_success/tpl_footer.php
    /includes/templates/custom/common/checkout_success/tpl_footer.php
    Not sure what one is correct but one of those locations should be?

    Since my acutal custom templates are located here
    /includes/templates/custom/common/tpl_main_page.php and so on.

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

    Default Re: Jrox problem

    do you have an actual template named custom?
    if you look in zc admin tools template what template is turned on
    Zen cart PCI compliant Hosting

  9. #9
    Join Date
    Jan 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Jrox problem

    Quote Originally Posted by Merlinpa1969 View Post
    do you have an actual template named custom?
    if you look in zc admin tools template what template is turned on
    When I go tools template selection this is what shows up on the left.
    Template Language=Default(All)
    Template Name=Custom Template
    Template Directory=custom

    On the right there are 3 templates installed.

    So looks like I have it and it is the active template.

    Also making changes to any of the files here
    /includes/templates/custom/common/* makes changes to the site.

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

    Default Re: Jrox problem

    /includes/templates/custom/checkout_success/tpl_footer.php

    would be correct,
    this way this tpl_footer ONLY shows on the checkout_success page

    do you have a url to look at?
    Zen cart PCI compliant Hosting

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Jrox?
    By zulu26 in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2012, 07:24 PM
  2. Jrox jam
    By johnybravo in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Sep 2011, 04:17 PM
  3. Installing JROX problem
    By Dawl in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 7 Apr 2009, 08:04 PM
  4. JROX Anyone??
    By woofgangs in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 7 Dec 2007, 06:57 AM
  5. JROX question
    By AMC in forum General Questions
    Replies: 5
    Last Post: 1 Oct 2006, 09:30 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