Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default checkout_success return page format

    Hello All,

    Really hoping someone can rescue me real fast here so the site can up and run,
    We just implemented Authorize.net payments and all is well until the checkout success.

    When it returns the entire site move from center of page to the left and the right column
    is moving into the center return info column and covering it making it unreadable.

    Any thoughts please !!!


    Thx,
    Erick

  2. #2
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: checkout_success return page format

    ok, in looking at the code in the checkout_success I see
    <body id="checkoutsuccessBody">
    and on the main index page it has
    <body id="indexBody">

    I am now looking for how to get the checkout_success page to also load
    <body id="indexBody"> as I think that might be the formating issue.

    maybe ?

    have done an AstroGrep Search for checkoutsuccessBody with no results,
    please any idea how to get the checkout_success page to call <body id="indexBody">
    and not <body id="checkoutsuccessBody">
    Last edited by gloerick; 24 Feb 2012 at 10:56 PM.

  3. #3
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: checkout_success return page format

    OR

    am I missing the checkoutsuccess css ? so nothing is being called ?
    as the tpl_main_page.php has

    $body_id = ($this_is_main_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);

    so can this be changed to look for the main page as it is now BUT ALSO the checkoutsuccess page
    THEN it will load the <body id="indexBody"> in the checkout success page so the formating is good ??

  4. #4
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: checkout_success return page format

    I have also tried in the tpl_main_page.php for my template to hard set the body id

    <body id="indexBody">
    and tried
    <body id="index">

    <!--<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>-->



    it shows in the code when I refresh the checkout_success page on the site but the formating is still all messed up
    and moving left, so it must not be just the body id tag.

    really lost now, as I was sure that would do it..

    only diff in the top of the code from the index page to the checkout_success code is the Conversions Conversion Page

    <!-- Google Code for Conversions Conversion Page -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = xxxxxxx;
    var google_conversion_language = "en";
    var google_conversion_format = "2";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "xxxxxx";
    var google_conversion_value = 0;
    if (100.00) {
    ## google_conversion_value = 100.00;
    }
    /* ]]> */
    </script>
    <script type="text/javascript" src="/googlecode/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/xxxxxx/?value=100.00&amp;label=xxxxxx;guid=ON&amp;script=0"/>
    </div>
    </noscript>
    Last edited by gloerick; 24 Feb 2012 at 11:23 PM.

  5. #5
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: checkout_success return page format

    am I missing the checkoutsuccess css ? so nothing is being called ?
    There is no checkoutsuccess.css. The page would be styled in your stylesheet.css. You might take a look in the stylesheet at the indexBody and see what's different than the checkoutsuccessBody

  6. #6
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: checkout_success return page format

    There is no indexbody, or index or body in the stylesheet.css
    any other suggestions ? please :-)

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

    Default Re: checkout_success return page format

    A better approach would be to compare all your site's files against the original Zen Cart files, and fix whatever's damaged. http://www.zen-cart.com/wiki/index.p...Obscure_Issues

    And another additional step could be to View Source on the checkout-success page when the problem exists, and then do another checkout using another payment module (check/money order perhaps?) and compare View Source from that page against the source from the broken page. Then reconcile the differences.

    You're likely running into extra invalid HTML being dumped into the page by something in your template, before the normal HTML is output, and thus the css etc is being overridden somewhat. The comparison methods I mentioned will help isolate the problem for you.
    .

    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.

  8. #8
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: checkout_success return page format

    There is no checkoutsuccess.css. The page would be styled in your stylesheet.css. You might take a look in the stylesheet at the indexBody and see what's different than the checkoutsuccessBody
    That's true but I have created a checkout_success.css and other page-specific xxxxxx.css files to style pages as I want and override some main stylesheet values if necessary. I'm also using the individual stylesheets to enable or disable header, footer, left and/or right side columns or for anything else differing from the default appearance. This allows me to avoid changes to PHP files.

  9. #9
    Join Date
    Feb 2006
    Location
    Boise, ID
    Posts
    334
    Plugin Contributions
    0

    Default Re: checkout_success return page format

    If there is no indexbody, or index or body in the stylesheet.css
    and I can not find checkoutsuccessBody, how is the main index page using indexbody ?
    or is it ? maybe it is doing notthing ?

    it is the only differance in the index code and the checkout_success code when I view source,
    or at least the 1st differance but something is messing up the layout position.

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

    Default Re: checkout_success return page format

    It's unlikely that the #indexBody or #checkoutSuccessBody has any styling associated with it at all, because it largely wouldn't need it. That's only necessary when doing very specific extra custom styling that the main styling doesn't already offer. There are lots of ids and classes that are not mentioned in the default stylesheet, because they're not needed for the default template. They're offered in case *you* want to customize things beyond the original styling.

    You didn't answer my question about differences between the page source when using a different payment module.
    Also, you've not answered all the questions in the Posting Tips section of the Reply/Post screen. Click Reply below and add those answers to your next post.
    And also indicate WHICH authnet payment module you're using, and why. AIM is far preferred over SIM, for a myriad of reasons, but requires SSL ... which any good store really ought to have anyway.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. checkout_success page is blank
    By anmldr in forum Basic Configuration
    Replies: 17
    Last Post: 17 Feb 2011, 12:04 PM
  2. Return url format
    By lacabessa in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 8 Jun 2009, 12:24 AM
  3. Preview checkout_success page
    By knightware in forum General Questions
    Replies: 2
    Last Post: 28 Apr 2009, 11:22 PM
  4. How can I override the checkout_success return URL
    By Doctor Jon in forum Addon Payment Modules
    Replies: 2
    Last Post: 12 Dec 2006, 07:26 PM

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