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

    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.
    Do you benefit from Zen Cart? Then please support the project.

  2. #12
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    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...
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    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.
    Do you benefit from Zen Cart? Then please support the project.

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

    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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #15
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    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.
    Do you benefit from Zen Cart? Then please support the project.

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

    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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #17
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    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.
    Do you benefit from Zen Cart? Then please support the project.

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

    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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    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.
    Do you benefit from Zen Cart? Then please support the project.

  10. #20
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    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.
    Do you benefit from Zen Cart? Then please support the project.

 

 
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: 1786
    Last Post: 10 Apr 2024, 03:17 PM
  2. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 797
    Last Post: 23 Mar 2024, 06:51 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