Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    The single change in the as-distributed /includes/classes/order.php is already included in zc156+. Just restore that file to its Zen Cart "base" version.


    Is "Money Order" one of the payment methods allowed for guest-checkout?
    Guest checkout is disabled.
    On the "Confirm Order" page "Check/Money Order" and Free Order are listed under the Payment section. Those are the default in the admin modules payment selection page.
    I am not using any CC processing selections.

    On the Order Total Modules page everything is enabled except the ot_cod_fee

    Let me add that on my production build I will be using the PO_Number plugin.
    I will never be using the guest-checkout function.
    NOTE: I get these same errors on my production build where I am using the PO_Number mod and it's my only selection.

  2. #2
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by linuxguy2 View Post
    Guest checkout is disabled.
    On the "Confirm Order" page "Check/Money Order" and Free Order are listed under the Payment section. Those are the default in the admin modules payment selection page.
    I am not using any CC processing selections.

    On the Order Total Modules page everything is enabled except the ot_cod_fee

    Let me add that on my production build I will be using the PO_Number plugin.
    I will never be using the guest-checkout function.
    NOTE: I get these same errors on my production build where I am using the PO_Number mod and it's my only selection.
    If I add a cc I get the same error

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Did you revert to the as-shipped zc156 /includes/classes/order.php?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Just did a test install of OPC 2.0.5 on zc156a.

    I'll note that the majority of the core-file overwrites required for zc155 are no longer required as the notifications are now "baked into" the base Zen Cart code. The two exceptions (on cursory inspection) are the changes required to /includes/modules/pages/login/header_php.php and to /includes/modules/order_total/ot_coupon.php; the remaining core files from the OPC distribution should not be copied for a zc156 install.

    I've corrected (for v2.0.6) the issues identified by @linuxguy2 in post #1055 on OPC's GitHub repository and will be reworking the distribution layout and/or installation instructions for Zen Cart 1.5.6.

  5. #5
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Just did a test install of OPC 2.0.5 on zc156a.

    I'll note that the majority of the core-file overwrites required for zc155 are no longer required as the notifications are now "baked into" the base Zen Cart code. The two exceptions (on cursory inspection) are the changes required to /includes/modules/pages/login/header_php.php and to /includes/modules/order_total/ot_coupon.php; the remaining core files from the OPC distribution should not be copied for a zc156 install.

    I've corrected (for v2.0.6) the issues identified by @linuxguy2 in post #1055 on OPC's GitHub repository and will be reworking the distribution layout and/or installation instructions for Zen Cart 1.5.6.
    I'll get the changes from github and test.
    Thank You very much for your time and expertise!
    You Guy's ROCK!

  6. #6
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by linuxguy2 View Post
    I'll get the changes from github and test.
    Thank You very much for your time and expertise!
    You Guy's ROCK!
    Tested with "Guest Checkout" FALSE and tried several different settings.
    Used the base order.php file
    The one in the plugin caused problems.

    Set Payment to "Money Order" and Shipping to "Flat".
    Then I had to have "Free Charger" and "Store Pickup" enabled before I did not get the below notices.

    Is there another way to disable the "free" stuff in Admin because when I disabled them in the (Admin Modules) Payment and Shipping I got these errors.

    Disabled Free Charger error
    Code:
    [27-Feb-2019 21:22:25 UTC] PHP Notice:  Undefined index: configuration_value in /home/pc/public_html/156a/includes/functions/functions_lookups.php on line 558
    Disabled Store Pickup error
    Code:
    [27-Feb-2019 21:22:25 UTC] PHP Notice:  Undefined index: tax in /home/pc/public_html/156a/includes/templates/template_default/templates/tpl_modules_checkout_one_shipping.php on line 34
    Also under certain settings these defines in "checkout_one_extra_definitions.php" show a warning as already defined in another place/file
    Code:
    define('FREE_SHIPPING_TITLE', 'Free Shipping');
    define('FREE_SHIPPING_DESCRIPTION', 'Free shipping for orders over %s');
    If I use the order.php from the plugin I get these errors
    Code:
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Undefined index:  in /home/pc/public_html/156a/includes/classes/order.php on line 354
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Trying to get property 'title' of non-object in /home/pc/public_html/156a/includes/classes/order.php on line 354
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Undefined index:  in /home/pc/public_html/156a/includes/classes/order.php on line 355
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Trying to get property 'code' of non-object in /home/pc/public_html/156a/includes/classes/order.php on line 355
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Undefined variable: coupon_code in /home/pc/public_html/156a/includes/classes/order.php on line 356
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Trying to get property 'fields' of non-object in /home/pc/public_html/156a/includes/classes/order.php on line 356
    [27-Feb-2019 22:36:38 UTC] PHP Notice:  Undefined index: shipping in /home/pc/public_html/156a/includes/classes/order.php on line 363
    Thanks,

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @linuxguy2, I'm now lost as to what you're trying to do. Other than those notices and warnings (which I'll investigate further), is the zc156+OPC not processing the checkout for you?

    As mentioned in post #1060, the version of the order.php class currently distributed by OPC should not be used for zc156+ installations -- use the version contained in the Zen Cart distribution instead.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by linuxguy2 View Post
    Tested with "Guest Checkout" FALSE and tried several different settings.
    Used the base order.php file
    The one in the plugin caused problems.

    Set Payment to "Money Order" and Shipping to "Flat".
    Then I had to have "Free Charger" and "Store Pickup" enabled before I did not get the below notices.

    Is there another way to disable the "free" stuff in Admin because when I disabled them in the (Admin Modules) Payment and Shipping I got these errors.

    Disabled Free Charger error
    Code:
    [27-Feb-2019 21:22:25 UTC] PHP Notice:  Undefined index: configuration_value in /home/pc/public_html/156a/includes/functions/functions_lookups.php on line 558
    Disabled Store Pickup error
    Code:
    [27-Feb-2019 21:22:25 UTC] PHP Notice:  Undefined index: tax in /home/pc/public_html/156a/includes/templates/template_default/templates/tpl_modules_checkout_one_shipping.php on line 34
    Also under certain settings these defines in "checkout_one_extra_definitions.php" show a warning as already defined in another place/file
    Code:
    define('FREE_SHIPPING_TITLE', 'Free Shipping');
    define('FREE_SHIPPING_DESCRIPTION', 'Free shipping for orders over %s');
    ...

    Thanks,
    The log
    Code:
    [27-Feb-2019 21:22:25 UTC] PHP Notice:  Undefined index:  configuration_value in  /home/pc/public_html/156a/includes/functions/functions_lookups.php on  line 558
    is coming from /includes/modules/payment.php in the Zen Cart base when "Free Charger" is disabled. I'll be opening a zencart GitHub issue, since I'm unclear as to the expected return values from the zen_get_configuration_key_value function, as there are 20 uses of that function within the Zen Cart base code.

    The issue is that the payment-class is checking to see that MODULE_PAYMENT_FREECHARGER_STATUS is present in the database and, when the payment-method is not installed, it's not.

  9. #9
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: One-Page Checkout [Support Thread]

    The ZCA Bootstrap removed the template override files in Version: 2.0.0a

    Clear your cache

    When you right click the loading image? what image path is returned?

  10. #10
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by rbarbour View Post
    The ZCA Bootstrap removed the template override files in Version: 2.0.0a

    Clear your cache

    When you right click the loading image? what image path is returned?
    The loading image does not display, but when I right click on the words Please Wait ... I am returned the path for the image which is not displaying. I have the following error in Chrome console and the image loads in Chrome, but not in Edge, phones, nor Firefox. (just discovered that)

    Attachment 18474

    Originally
    https://domain.com/includes/template...ne_loading.gif
    Now, since I copied all of the file from OPC install template_default to the bootstrap directory
    https://domain.com/includes/template...ne_loading.gif

    I cleared my cache, still nothing. The question I was posing most recently is where to manually (with a simple img tag) hard code the gif, but I don't think Lat understood.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

 

 

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