Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Eek! That's not good. What are the DB_CHARSET settings in the site's /includes/configure.php and /YOUR_ADMIN/includes/configure.php?

    Wow checked those two files....

    includes/configure.php ----- define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common

    Admin/inlcudes/configure.php ----- define('DB_CHARSET', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common

    Kind Regards,
    Gail
    www.goodiesbygail.com

  2. #2
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by GoofyGrrl2 View Post
    Wow checked those two files....

    includes/configure.php ----- define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common

    Admin/inlcudes/configure.php ----- define('DB_CHARSET', 'utf8mb4'); // 'utf8mb4' or older 'utf8' / 'latin1' are most common


    Of course I just checked the original 1.5.6c files and both show only what the first one says above. I am assuming it's not as easy as copying the correct lines to the admin configure.php file is it? I don't even know why they aren't the original 1.5.6c files. I have been using those files for almost a year now.
    Kind Regards,
    Gail
    www.goodiesbygail.com

  3. #3
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi lat9,
    Good news, ignoring the zca56b files, I installed OPC 2.3.1 (Master) on my test shop, without any translations yet, and also without modifying the shipping module, and the module displays a nice one-page checkout for a logged in user, so that works fine. Customization of confirming age needs to be added by me, and of course the translation. And of course any enhancements related to multilingual addresses and Japanese support. But at least it does not clash with the existing store setup, and the debug log indicates that all information appears to be correctly read as expected (including certainly some information that requires Japanese support, so the module is obviously using the core files in some way to obtain some of its information, which is pretty great to see).

    I will be working on the translations shortly, and see what remains to be done after that, for logged in users, before moving on to see how guest users works.
    Regards,
    Gernot Hassenpflug
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  4. #4
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    ZC v1.56c
    OPC v2.3.0
    CEON URI Mapping
    CSS_JS Loader
    DPU
    SBA
    IH5
    Zen Colorbox
    Structured Data
    SitemapXML
    Lazy Loader
    EU Cookie
    Column Layout Grid - Responsive
    Customised Template

    I've activated Guest Checkout for the first time on my local dev copy and find that when clicking through to the \index.php?main_page=checkout_one page I get a partial blank screen. No doubt I've broken something, sequence is:

    Add to cart
    View cart
    Click 'Checkout'
    Goes to login page
    Click 'Checkout' - Guest Checkout
    Go to \index.php?main_page=checkout_one

    Error log is:
    Code:
    [30-Mar-2020 15:52:20 Europe/London] PHP Fatal error:  Uncaught Error: Call to undefined method OnePageCheckoutNoPayment::javascript_validation() in D:\wamp64\www\mydomain.co.uk\includes\templates\my_template\templates\tpl_checkout_one_default.php:14
    Stack trace:
    #0 D:\wamp64\www\mydomain.co.uk\includes\templates\my_template\common\tpl_main_page.php(217): require()
    #1 D:\wamp64\www\mydomain.co.uk\index.php(97): require('D:\\wamp64\\www\\m...')
    #2 {main}
      thrown in D:\wamp64\www\mydomain.co.uk\includes\templates\my_template\templates\tpl_checkout_one_default.php on line 14
    
    [30-Mar-2020 15:52:20 Europe/London] Request URI: /index.php?main_page=checkout_one, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Call to undefined method OnePageCheckoutNoPayment::javascript_validation() in D:\wamp64\www\mydomain.co.uk\includes\templates\my_template\templates\tpl_checkout_one_default.php:14
    Stack trace:
    #0 D:\wamp64\www\mydomain.co.uk\includes\templates\my_template\common\tpl_main_page.php(217): require()
    #1 D:\wamp64\www\mydomain.co.uk\index.php(97): require('D:\\wamp64\\www\\m...')
    #2 {main}
      thrown in D:\wamp64\www\mydomain.co.uk\includes\templates\my_template\templates\tpl_checkout_one_default.php on line 14.

    The blank page starts at the point of
    Code:
    echo $payment_modules->javascript_validation();
    in tpl_checkout_one_default.php

    If I sign in as a returning customer on the login page then I am successfully directed to the full checkout_one page. No console errors and the only payment module active is Paypal Express Checkout.

    Any ideas?
    Simon

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: One-Page Checkout [Support Thread]

    PHP Fatal error: Uncaught Error: Call to undefined method OnePageCheckoutNoPayment::javascript_validation()

    tells you everything right there.....
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @simon1066, was that perchance a 'virtual' order?

  7. #7
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    @simon1066, was that perchance a 'virtual' order?
    I have been experimenting with downloads, so that made me think. But no, the product is not virtual.
    Simon

  8. #8
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post

    I've activated Guest Checkout for the first time on my local dev copy and find that when clicking through to the \index.php?main_page=checkout_one page I get a partial blank screen. No doubt I've broken something ...
    And the answer is, code was missing from my templates version of tpl_checkout_one_default.php, around line 9

    Code:
     echo $payment_modules->javascript_validation();
    should have been

    Code:
    if ($payment_module_available) {
        echo $payment_modules->javascript_validation();
    }
    Unsure as to why those lines were missing, my archives go back to 2017 and it seems those lines of code have been missing since, at least, then. Also thought I had checked my template copy against the original in an effort to debug - probably a case of too many files open in Notepad++ at the same time.

    Anyway - all's good and thanks to @lat9 for her help and for pointing me in the right direction.
    Simon

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Thanks, @simon1066, for the update. I'll note that the template file was updated about a year ago for OPC v2.1.0.

  10. #10
    Join Date
    Nov 2005
    Location
    France
    Posts
    600
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    I installed version 2.3.0 of this module to a ZC1.5.5f site and have noticed that when guest checkout is enabled order confirmation emails are being sent as text emails not HTML. Regular account holders get their confirmation emails in HTML format.
    Also noticed that the admin copy of the order confirmation email has the addresses formatted on a single line rather than in standard address format.

    I did look through the module documnts but didn't see anything related to this.

 

 

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