Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Posts
    532
    Plugin Contributions
    0

    Default Issue with order totals in 1.5.8

    Posting here at the suggestion of Lat9 as perhaps it was not the Bootstrap or the onePage Check out being the issue but something else in 1.5.8.

    Although when I installed 1.5.8 on its own it seems to be okay and it is only after the one page check out going in that I go the issue. Perhaps someone can help rather than me putting it in either of the other plug in threads.

    My Original post is:

    Just trying to install OPCO with the Bootstrap template using zc1.5.8. - clean install on local server to test. have uploaded as well the boostrap template for opco.

    the error I get is

    [21-Oct-2022 12:07:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_ORDER_TOTAL_COUPON_HEADER" in .\includes\modules\order_total\ot_coupon.php:105
    Stack trace:
    #0 .admin\modules.php(187): ot_coupon->__construct()
    #1 .admin\index.php(11): require('C:\\Users\\...\\...')
    #2 {main}
    thrown in .\includes\modules\order_total\ot_coupon.php on line 105

    [21-Oct-2022 12:07:50 UTC] Request URI: .admin/index.php?cmd=modules&set=ordertotal, IP address: ::1
    --> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_ORDER_TOTAL_COUPON_HEADER" in .\includes\modules\order_total\ot_coupon.php:105
    Stack trace:
    #0 .admin\modules.php(187): ot_coupon->__construct()
    #1 .admin\index.php(11): require('C:\\Users\\...\\...')
    #2 {main}
    thrown in .\includes\modules\order_total\ot_coupon.php on line 105.


    I can see the define is in the language file, I am not sure how to interpret the rest of this log to help fund or understand the problem. - sorry bit of a novice when it comes to coding.

    I have also noticed that in admin \modules\order totals I only have one and the rest of the page does not load suggesting an error somewhere that prevents the admin page loading. Again, sorry but I just not sure where to look to see what is causing the error.

    Thanks

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: Issue with order totals in 1.5.8

    Did you, perhaps, overwrite

    /includes/languages/english/modules/order_total/lang.ot_coupon.php

    with the version supplied by OPC in its

    /includes/languages/english/modules/order_total/YOUR_TEMPLATE/lang.ot_coupon.php?

    That might explain the issue's cause, since the OPC version is a subset of the base Zen Cart's version of the file and is expected to be copied/merged with your active template's override of that 'core' module.

  3. #3
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Issue with order totals in 1.5.8

    See above.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Issue with order totals in 1.5.8

    The only way I can dup this is to accidentally install the OPC override

    includes/languages/english/modules/order_total/YOUR_TEMPLATE/lang.ot_coupon.php

    in the upper level (non override) folder

    includes/languages/english/modules/order_total/

    (Note: This is what Cindy said too - I can't dup it any other way.)
    That Software Guy. My Store: Zen Cart Modifications
    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.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 22 Jun 2013, 02:57 AM
  2. Replies: 1
    Last Post: 5 Sep 2012, 11:57 AM
  3. Duplicate Orders with Same Order Number and Different Totals
    By sfuredi in forum General Questions
    Replies: 1
    Last Post: 3 May 2010, 04:59 AM
  4. what files are involved with calculating the order totals
    By zubenubi in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 Jan 2010, 11:13 PM
  5. How do I Edit Order of Order Totals in Order Confirmation Email?
    By toussi in forum Managing Customers and Orders
    Replies: 1
    Last Post: 20 Mar 2009, 08:05 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR