Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Stock by Attributes +Edit Orders + Super Orders

    G'day Folks,

    I don't know if anyone else here uses this combo of module (as per thread title) but I've managed to get them to all play quite nicely together, with one exception.

    When attributed stock products are added to an order via the edit_orders/super_orders module only the parent stock counts are adjusted, not the stock with attributes. The only way I've found to keep the SBA quantities correct is by manually adjusting them after using the editor.

    Is this abnormal behaviour caused by a mistake I've made when merging the various files, or is it simply that Edit_orders isn't 'aware' of the Stock by Attributes stock?

    If it's normal behaviour has anyone got any ideas how to best resolve the problem. I'm having a heck of a time following the code.

    Cheers
    RodG

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    Quote Originally Posted by RodG View Post
    or is it simply that Edit_orders isn't 'aware' of the Stock by Attributes stock?
    You'll need to add the SBA code in to Edit Orders.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    Quote Originally Posted by RodG View Post
    I'm having a heck of a time following the code.
    Which code section? SO, SBA, or unfortunately both?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    Quote Originally Posted by twitchtoo View Post
    You'll need to add the SBA code in to Edit Orders.
    More info please.

    Which part(s) of the SBA code need to be added to which parts of the Edit Orders code.

    I assume this is something that you've already done?

    Cheers
    RodG

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    Quote Originally Posted by mc12345678 View Post
    Which code section? SO, SBA, or unfortunately both?
    The SBA code is relatively simple.

    The edit orders code not quite so simple.

    Im not sure how this helps <??????>

    Cheers
    RodG

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

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    I was just noodling on this. It looks like the logic from includes/classes/observers/class.products_with_attributes_stock.php needs to be added to the edit orders process where new items are created.
    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.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    There are commercial alternatives to SBA that do inter-operate well with Edit Orders; maintaining stock levels and the like.

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

    Default Re: Stock by Attributes +Edit Orders + Super Orders

    Would you please PM me this information? Thanks so much.
    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. v151 Admin install messages will not go away for Super Orders, Edit Orders plugins
    By rcrosier in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 15 Oct 2013, 06:10 PM
  2. Replies: 13
    Last Post: 27 Oct 2010, 05:48 PM
  3. Super Orders & Edit Orders
    By Bruce1952 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 27 Oct 2010, 08:35 AM
  4. Compare Super Orders and Edit Orders
    By GTHENRY in forum Managing Customers and Orders
    Replies: 3
    Last Post: 13 Feb 2009, 08:24 PM
  5. Edit Orders and Super Orders, anyone doing that?
    By swamyg1 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Feb 2009, 06:03 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