Results 1 to 10 of 3052

Threaded View

  1. #11
    Join Date
    Jun 2014
    Posts
    157
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by CaroleAs View Post
    Hum, no I had not done that. (didn't see it in the instructions) But it is done now.

    It is one step further. When I click on the Shopping Cart, I still see the old checkout format. If i click on the checkout, I get this warning popping up: "Please contact the store owner; some required elements of this page are missing." and a blank page below the header/navigation.

    Thinking it was because it was on Maintenance mode, I disabled it, but I get the same thing.

    http://challengemehq.com
    The checkout starts after clicking the checkout button on the Shopping Cart.
    Did you enable One-Page Checkout Debug in Admin>Config>One Page Checkout Settings? If so, you can find which elements are missing in the log files in your logs folder, also very useful when you get blank pages.
    I guess you did not upload some files correctly.

    Here below is a part of the code (in "\includes\modules\pages\checkout_one\jscript_main.php") that popped up the warning.
    Don't worry about the code itself, it might give you an idea about what might be missing.
    Code:
    <?php
        // -----
        // There are a bunch of "required" elements for this submit-less form to be properly handled.  Check
        // to see that they're present, alerting the customer (hopefully the owner!) if any of those elements
        // are missing.
        //
    ?>
        var elementsMissing = false;
        if (jQuery( 'form[name="checkout_payment"]' ).length == 0) {
            elementsMissing = true;
            zcLog2Console( 'Missing form[name="checkout_payment"]' );
        }
        if (jQuery( '#orderTotalDivs' ).length == 0) {
            elementsMissing = true;
            zcLog2Console( 'Missing #orderTotalDivs' );
        }
        if (jQuery( '#current-order-total' ).length == 0) {
            elementsMissing = true;
            zcLog2Console ( 'Missing #current-order-total' );
        }
        if (jQuery( '#opc-order-confirm' ).length == 0) {
            elementsMissing = true;
            zcLog2Console( 'Missing #opc-order-confirm' );
        }
        if (jQuery( '#opc-order-review' ).length == 0) {
            elementsMissing = true;
            zcLog2Console( 'Missing #opc-order-review' );
        }
    <?php
    if (!$is_virtual_order) {
    ?>
        if (jQuery( '#otshipping' ).length == 0) {
            elementsMissing = true;
            zcLog2Console ( 'Missing #otshipping' );
        }
    <?php
    }
    ?>
        if (elementsMissing) {
            alert( 'Please contact the store owner; some required elements of this page are missing.' );
        }
    Look at the log files anyway!
    Hope this will help a bit,

    Cheers,

    jpda
    Last edited by jpda; 25 Aug 2017 at 08:55 AM. Reason: typo

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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