Results 1 to 10 of 1920

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by Reesy View Post
    Had a search through the thread and couldnt find anything so excuse me for asking.
    Is there any easy way to edit the COD fees that result of using that module?
    Thanks
    Since the output of the built-in ot_cod_fee.php module is automatically calculated (i.e. not a user-input), the answer is "No".

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Edit Orders v4.0 Support Thread

    You might be able to use OT Edit to modify the COD fee.

    https://www.zen-cart.com/downloads.php?do=file&id=2245
    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.

  3. #3
    Join Date
    Mar 2005
    Posts
    561
    Plugin Contributions
    4

    Default Re: Edit Orders v4.0 Support Thread

    Thanks for the replies, it used to be possible in the Diva Vocals version.
    I will check the Order Total mod out, thanks kindly.

  4. #4
    Join Date
    Feb 2019
    Location
    Birmingham UK
    Posts
    32
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    ZC 2.0.1, EO 5.0.1, PHP 8.3.6, MySQL 8.0.42, Ubuntu Linux 24.04.3 LTS, Kernel Linux 6.8.0-71-generic

    Can't add products to order, I can edit product totals, but if I try to add a product, I can select it, but the choose button does nothing.
    This probably something I have done, just need a clue.
    Sorry, but not sure if this happened when I upgraded to the new server a few months ago, or since then (this is not a busy site, it is just for my daughter's shop stockists).

    Getting this error.
    Code:
    #0 [internal function]: zen_debug_error_handler()
    #1 /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php(733): trigger_error()
    #2 /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php(678): queryFactory->show_error()
    #3 /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php(307): queryFactory->set_error()
    #4 /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/admin/includes/classes/EoAttributes.php(66): queryFactory->Execute()
    #5 /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/catalog/includes/classes/ajax/zcAjaxEditOrdersAdmin.php(510): Zencart\Plugins\Admin\EditOrders\EoAttributes->__construct()
    #6 /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/catalog/includes/classes/ajax/zcAjaxEditOrdersAdmin.php(466): zcAjaxEditOrdersAdmin->getNewProductDefaultAttributes()
    #7 /var/www/html/wsgd.co.uk/ajax.php(77): zcAjaxEditOrdersAdmin->newProductChosen()
    #8 /var/www/html/wsgd.co.uk/shopmanager/ajax.php(17): require('...')
    --> PHP Fatal error: MySQL error 3065: Expression #1 of ORDER BY clause is not in SELECT list, references column 'Zencart.po.products_options_sort_order' which is not in SELECT list; this is incompatible with DISTINCT :: SELECT DISTINCT po.products_options_id AS `id`, po.products_options_name AS `name`,
                        po.products_options_type AS `type`, po.products_options_length AS `length`,
                        po.products_options_size AS `size`, po.products_options_rows AS `rows`
                   FROM products_attributes pa
                        INNER JOIN products_options po
                            ON po.products_options_id = pa.options_id
                           AND po.language_id = 1 
                  WHERE pa.products_id = 322 ORDER BY LPAD(po.products_options_sort_order, 11, '0'), po.products_options_name ==> (as called by) /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/admin/includes/classes/EoAttributes.php on line 66 <== in /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php on line 733.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by wyliecoyoteuk View Post
    ZC 2.0.1, EO 5.0.1, PHP 8.3.6, MySQL 8.0.42, Ubuntu Linux 24.04.3 LTS, Kernel Linux 6.8.0-71-generic

    Can't add products to order, I can edit product totals, but if I try to add a product, I can select it, but the choose button does nothing.
    This probably something I have done, just need a clue.
    Sorry, but not sure if this happened when I upgraded to the new server a few months ago, or since then (this is not a busy site, it is just for my daughter's shop stockists).

    Getting this error.
    Code:
    #0 [internal function]: zen_debug_error_handler()
    #1 /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php(733): trigger_error()
    #2 /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php(678): queryFactory->show_error()
    #3 /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php(307): queryFactory->set_error()
    #4 /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/admin/includes/classes/EoAttributes.php(66): queryFactory->Execute()
    #5 /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/catalog/includes/classes/ajax/zcAjaxEditOrdersAdmin.php(510): Zencart\Plugins\Admin\EditOrders\EoAttributes->__construct()
    #6 /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/catalog/includes/classes/ajax/zcAjaxEditOrdersAdmin.php(466): zcAjaxEditOrdersAdmin->getNewProductDefaultAttributes()
    #7 /var/www/html/wsgd.co.uk/ajax.php(77): zcAjaxEditOrdersAdmin->newProductChosen()
    #8 /var/www/html/wsgd.co.uk/shopmanager/ajax.php(17): require('...')
    --> PHP Fatal error: MySQL error 3065: Expression #1 of ORDER BY clause is not in SELECT list, references column 'Zencart.po.products_options_sort_order' which is not in SELECT list; this is incompatible with DISTINCT :: SELECT DISTINCT po.products_options_id AS `id`, po.products_options_name AS `name`,
                        po.products_options_type AS `type`, po.products_options_length AS `length`,
                        po.products_options_size AS `size`, po.products_options_rows AS `rows`
                   FROM products_attributes pa
                        INNER JOIN products_options po
                            ON po.products_options_id = pa.options_id
                           AND po.language_id = 1 
                  WHERE pa.products_id = 322 ORDER BY LPAD(po.products_options_sort_order, 11, '0'), po.products_options_name ==> (as called by) /var/www/html/wsgd.co.uk/zc_plugins/EditOrders/v5.0.1/admin/includes/classes/EoAttributes.php on line 66 <== in /var/www/html/wsgd.co.uk/includes/classes/db/mysql/query_factory.php on line 733.
    Change line 47 of /zc_plugins/EditOrders/v5.0.1/admin/includes/classes/EoAttributes.php from
    Code:
            $sql =
                "SELECT DISTINCT po.products_options_id AS `id`, po.products_options_name AS `name`,
                        po.products_options_type AS `type`, po.products_options_length AS `length`,
                        po.products_options_size AS `size`, po.products_options_rows AS `rows`
                   FROM " . TABLE_PRODUCTS_ATTRIBUTES . " pa
                        INNER JOIN " . TABLE_PRODUCTS_OPTIONS . " po
                            ON po.products_options_id = pa.options_id
                           AND po.language_id = :language_id 
                  WHERE pa.products_id = :products_id";
    to
    Code:
            $sql =
                "SELECT DISTINCT po.products_options_id AS `id`, po.products_options_name AS `name`,
                        po.products_options_type AS `type`, po.products_options_length AS `length`,
                        po.products_options_size AS `size`, po.products_options_rows AS `rows`,
                        po.products_options_sort_order
                   FROM " . TABLE_PRODUCTS_ATTRIBUTES . " pa
                        INNER JOIN " . TABLE_PRODUCTS_OPTIONS . " po
                            ON po.products_options_id = pa.options_id
                           AND po.language_id = :language_id 
                  WHERE pa.products_id = :products_id";
    When you view the admin's Tools / Server/Version Info, what displays for the MySQL Mode?

    GitHub tracking issue created: https://github.com/lat9/edit_orders/issues/330
    Last edited by lat9; 12 Aug 2025 at 12:46 PM. Reason: Added GitHub issue

  6. #6
    Join Date
    Feb 2019
    Location
    Birmingham UK
    Posts
    32
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    MySQL Mode: ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_ENGINE_SUBSTITUTION

  7. #7
    Join Date
    Feb 2019
    Location
    Birmingham UK
    Posts
    32
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Made that change, fixed it, thank you!

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

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by wyliecoyoteuk View Post
    MySQL Mode: ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_ENGINE_SUBSTITUTION
    Quote Originally Posted by wyliecoyoteuk View Post
    Made that change, fixed it, thank you!
    Thanks for both updates; I'll be getting EO v5.0.2 released sometime this week and it'll contain this correction.

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 818
    Last Post: 9 Jul 2026, 10:12 AM
  2. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  3. Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 656
    Last Post: 18 Apr 2016, 06:28 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  5. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM

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