Page 300 of 300 FirstFirst ... 200250290298299300
Results 2,991 to 3,000 of 3000
  1. #2991
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,686
    Plugin Contributions
    95

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Borek View Post
    Hi,
    I am just programing shipping module for Packeta (Middel Europe delivery system). And I use your OPC. I need to save new filed to order whit specificaly information about delivery place of any partner of Packeta. So I have made new field in TABLE_ORDERS, but I don't have found place who add this information for store it into the DB table.
    my input name is packeta-select-branch adn need to know how to manipulate with this field to successfully save into the order table.
    Thank you for your help.
    Borek
    Your request is not specific to OPC, you'll need for your shipping module to save pertinent information in the session when it's selected and then provide any database updates via an observer-class watching 'significant' notifications from the order.php class. For instance:

    - NOTIFY_ORDER_AFTER_QUERY (needed to gather the information to view in the admin's order details)
    - NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER (add the shipping information to the orders table)

  2. #2992
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I have been getting the warning logs lately:

    Code:
    [01-Nov-2025 21:07:41 UTC] Request URI: /index.php?main_page=shopping_cart&products_id=1768&disp_order=1, IP address: 14.182.205.151, Language id 1
    #0 /includes/classes/shopping_cart.php(1378): zen_debug_error_handler()
    #1 /includes/classes/observers/class.checkout_one_observer.php(219): shoppingCart->get_products()
    #2 /includes/autoload_func.php(64): checkout_one_observer->messageCheck()
    #3 /includes/application_top.php(329): require('/home/zch1akhw6...')
    #4 /index.php(25): require('/home/zch1akhw6...')
    --> PHP Warning: Undefined array key "products_name" in /includes/classes/shopping_cart.php on line 1378.
    I am assuming it is OPC related due to the observer but not sure

    How do I fix it? it has been filling up my logs

    Thank you for the assistance

  3. #2993
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,686
    Plugin Contributions
    95

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by nicksab View Post
    I have been getting the warning logs lately:

    Code:
    [01-Nov-2025 21:07:41 UTC] Request URI: /index.php?main_page=shopping_cart&products_id=1768&disp_order=1, IP address: 14.182.205.151, Language id 1
    #0 /includes/classes/shopping_cart.php(1378): zen_debug_error_handler()
    #1 /includes/classes/observers/class.checkout_one_observer.php(219): shoppingCart->get_products()
    #2 /includes/autoload_func.php(64): checkout_one_observer->messageCheck()
    #3 /includes/application_top.php(329): require('/home/zch1akhw6...')
    #4 /index.php(25): require('/home/zch1akhw6...')
    --> PHP Warning: Undefined array key "products_name" in /includes/classes/shopping_cart.php on line 1378.
    I am assuming it is OPC related due to the observer but not sure

    How do I fix it? it has been filling up my logs

    Thank you for the assistance
    That's coming out of the base shopping_cart.php class on line 1378. What version of Zen Cart is in use?

  4. #2994
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That's coming out of the base shopping_cart.php class on line 1378. What version of Zen Cart is in use?
    I am on ZC 2.1

  5. #2995
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,686
    Plugin Contributions
    95

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by nicksab View Post
    I am on ZC 2.1
    It looks like the product with an id of 1768 doesn't have a name.

  6. #2996
    Join Date
    Jun 2012
    Posts
    475
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Two questions about OPC..
    (1) if a not logged in customer with an account checks out as a guest and fills out email address, name and address that match the account, OPC does not associate the guest with the account. Correct?
    (2) If the customer table has extra custom fields and a customer checks out as guest, the guest customer row in the customer table may contain data in those extra fields. Where is that row cleared in OPC and is there an associated notifier that can be used to clear those extra fields.

    Thank you!

    Dave
    zc2.1.0, OPC 2.5.5, Bootstrap 3.7.8, Remember Me 2.1.1

  7. #2997
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,686
    Plugin Contributions
    95

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Dave224 View Post
    Two questions about OPC..
    (1) if a not logged in customer with an account checks out as a guest and fills out email address, name and address that match the account, OPC does not associate the guest with the account. Correct?
    (2) If the customer table has extra custom fields and a customer checks out as guest, the guest customer row in the customer table may contain data in those extra fields. Where is that row cleared in OPC and is there an associated notifier that can be used to clear those extra fields.

    Thank you!

    Dave
    zc2.1.0, OPC 2.5.5, Bootstrap 3.7.8, Remember Me 2.1.1
    1: Correct
    2: The 'base' OPC has no knowledge of any "extra custom fields" in the customers database table. There are a number of notifications issued (https://github.com/lat9/one_page_che...cations-Issued) through which custom code can provide additional data to be entered for a guest-customer's order. The maintenance of that additional data is left to the custom code.

  8. #2998
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,430
    Plugin Contributions
    327

    Default Re: One-Page Checkout [Support Thread]

    That Software Guy. My Store: Zen Cart Support
    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.

  9. #2999
    Join Date
    Jun 2012
    Posts
    475
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    If a customer checks out as a guest in OPC and enters a password to create an account on the checkout success page, the customer is taken to the create account success page. Clicking the Continue button on that page takes the customer to the shopping cart page, which is empty. Where does the redirect to the shopping cart page take place (which function/method please), and is there a way to redirect to the home page instead? I've tried to find the location without success.

    Thank you!

    Dave
    zc2.1.0, OPC 2.5.5, Bootstrap 3.7.8

  10. #3000
    Join Date
    Apr 2009
    Posts
    480
    Plugin Contributions
    2

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by swguy View Post
    [01-Aug-2025 03:07:38 America/Chicago] PHP Fatal error: Uncaught Error: Call to a member function guestCheckoutEnabled() on int in /home/client/public_html/includes/classes/observers/class.checkout_one_observer.php:216
    Stack trace:
    #0 /home/client/public_html/includes/autoload_func.php(64): checkout_one_observer->messageCheck()
    #1 /home/client/public_html/includes/application_top.php(329): require('/home/client/...')
    #2 /home/client/public_html/index.php(25): require('/home/client/...')
    #3 {main}
    thrown in /home/client/public_html/includes/classes/observers/class.checkout_one_observer.php on line 216
    Was a solution/reason found for this I have had it ocour 96 times last month but I cannot recreate it on my test system.
    Zen cart 2.1 opc 2.5.5 (2025-09-19) php 8.3.27
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

 

 

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