Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: [support thread] - "edit orders -> detail record copy"

    Yeah that was it. The auto stuff for admin side was introduced in 1.5.7.
    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.

  2. #12
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,042
    Plugin Contributions
    5

    Default Re: [support thread] - "edit orders -> detail record copy"

    Quote Originally Posted by swguy View Post
    Does this only work in 1.5.7? In 1.5.6, the class constructor doesn't seem to fire, and the compatibility information for the first version says 1.5.6.

    Yeah that was it. The auto stuff for admin side was introduced in 1.5.7.
    @swguy, you have going to have wash your own bottles on this one... (are you not the chief cook and bottle washer?)

    ok... good to know...
    help with WCAG is now here! PM if you want some help with this. (or any ZC issue).
    if you feel so inclined, feel free to send some cake....

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: [support thread] - "edit orders -> detail record copy"

    It's all good. I have updated the plugin page to note that this is a 1.5.7 mod (not 1.5.6).
    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.

  4. #14
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,042
    Plugin Contributions
    5

    Default Re: [support thread] - "edit orders -> detail record copy"

    Quote Originally Posted by swguy View Post
    It's all good. I have updated the plugin page to note that this is a 1.5.7 mod (not 1.5.6).
    thanks.
    help with WCAG is now here! PM if you want some help with this. (or any ZC issue).
    if you feel so inclined, feel free to send some cake....

  5. #15
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: [support thread] - "edit orders -> detail record copy"

    I updated the documentation on autoloading as well just to clarify this point.

    Thanks again for doing this; it was an inspired solution.
    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.

  6. #16
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,042
    Plugin Contributions
    5

    Default Re: [support thread] - "edit orders -> detail record copy"

    Quote Originally Posted by swguy View Post
    I updated the documentation on autoloading as well just to clarify this point.

    Thanks again for doing this; it was an inspired solution.
    too kind. thank you. glad it helps others and not just me.
    help with WCAG is now here! PM if you want some help with this. (or any ZC issue).
    if you feel so inclined, feel free to send some cake....

  7. #17
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: [support thread] - "edit orders -> detail record copy"

    Small fix needed: includes/classes/observers/auto.editOrdersDetailObserver.php line 75, change

    zen_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array, $db_action, $db_where);

    to

    if (!empty($sql_data_array)) {
    zen_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array, $db_action, $db_where);
    }

    This happens if there are no changes to the Orders Products table but you are running this mod.
    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.

  8. #18
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,042
    Plugin Contributions
    5

    Default Re: [support thread] - "edit orders -> detail record copy"

    Quote Originally Posted by swguy View Post
    Small fix needed: includes/classes/observers/auto.editOrdersDetailObserver.php line 75, change

    zen_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array, $db_action, $db_where);

    to

    if (!empty($sql_data_array)) {
    zen_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array, $db_action, $db_where);
    }

    This happens if there are no changes to the Orders Products table but you are running this mod.
    hi scott,
    when would this possibly happen? have you seen it happen in the wild?

    part of the reason i developed this mod, was that even if you did not change anything on the products for an order, EO would still delete the record and recreate it. which frankly, i have never liked that behavior.

    does a newer version of EO no longer do that?

    i have no problem making this change, but the question for me is whether it is needed.

    best.
    help with WCAG is now here! PM if you want some help with this. (or any ZC issue).
    if you feel so inclined, feel free to send some cake....

  9. #19
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: [support thread] - "edit orders -> detail record copy"

    You can reproduce it easily on a cart that has no changes to the orders_products table just by running edit orders.
    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.

  10. #20
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: [support thread] - "edit orders -> detail record copy"

    Yes, I saw it in the wild - happened because I thought a client had changes to the table but they didn't.
    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.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v150 Edit Orders v4.0 Support Thread
    By DivaVocals in forum Addon Admin Tools
    Replies: 1722
    Last Post: 16 Oct 2021, 12:57 PM
  2. v150 Super Orders v4.0 Support Thread (for ZC v1.5.x)
    By DivaVocals in forum Addon Admin Tools
    Replies: 760
    Last Post: 15 Oct 2021, 09:29 AM
  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

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