Page 59 of 66 FirstFirst ... 9495758596061 ... LastLast
Results 581 to 590 of 657
  1. #581
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Edit Orders v4.02 for Zen Cart 1.5.0 Support Thread

    Address Editing
    This works really well from what I have observed. During integration I have noticed Edit Orders directly modifies the addresses in the order table. This makes complete sense as changes a customer may make to their address book will not affect the address information supplied for the order (also supports better order address history).

    Request
    However it would be "nice" to have the option of selecting an address from the customer's address book to overwrite these fields. This would save some administrative time if the customer contacts the store to change the shipping address of the order (prior to the order shipping). I'm sure there are a few other cases where this could be useful.

    Scenario
    1. Customer (or admin) places an order.
    2. Customer receives confirmation email and notices they have the wrong address.
    3. Customer updates address in their address book.
    4. Customer contacts store and requests the order be sent to the updated address.
    5. Order Manager updates shipping address on the order (if not already shipped).

    Notes
    This is just a feature request, not a bug / issue. The current Edit Order module already supports changing the addresses for the order by manually typing in the new address information. It would just be nice in some cases to also be able to select the new address from the customer's address book.

  2. #582
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Edit Orders v4.0 Admin Profile restriction?

    After taking a little longer look, the patch "a (edit_orders_defines)" is not needed and is already included correctly in this module. Only patch "b (init_eo_config)" is needed to correct the admin profile issue.

    I will be adding a new patch shortly with corrections. Please disregard Edit-Orders-4.02-patch2.zip
    Last edited by lhungil; 30 Aug 2012 at 05:54 PM.

  3. #583
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Edit Orders v4.0 Admin Profile restriction?

    Alright, here is the admin profiles patches with corrections. Two files were modified in this patch. I've included both the patches and copies of the files I used when testing the changes.

    Enjoy!

  4. #584
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    So I have searched several ways in the thread and haven't found if the attributes bug from the older version was ever fixed. This is the bug where if you are adding a new product and it has attributes and the "use specials/sale price" box is checked it will add the original price plus the sale price to give the wrong price.

    Zen Cart and it's community are the best!!

  5. #585
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    Quote Originally Posted by lankeeyankee View Post
    So I have searched several ways in the thread and haven't found if the attributes bug from the older version was ever fixed. This is the bug where if you are adding a new product and it has attributes and the "use specials/sale price" box is checked it will add the original price plus the sale price to give the wrong price.
    None of the tax or attribute bugs were addressed at all.. In my announcement post I list out the fixes/changes made..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #586
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    I saw that but also noticed other folks chipping in bits here and there so thought I'd search first and ask after. Thanks, guess I will have to finally have a crack at it, I'm training new people on certain functions, editing orders being one, and it's a pain to have to teach them about this bug and workaround and that bug and workaround....

    Zen Cart and it's community are the best!!

  7. #587
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    Quote Originally Posted by lankeeyankee View Post
    I saw that but also noticed other folks chipping in bits here and there so thought I'd search first and ask after. Thanks, guess I will have to finally have a crack at it, I'm training new people on certain functions, editing orders being one, and it's a pain to have to teach them about this bug and workaround and that bug and workaround....
    Nope.. I had someone who volunteered to work on the attributes bugs for this release.. He started like gangbusters, then sadly his work got sloppy and he clearly wasn't testing the code he was writing nor did he seem to have a grasp on the attribute issues with this add-on (despite my providing LOTS of documentation and mockups). He eventually bailed out of helping with this update and left me with the MESS of having to excise all his half working code out.. **sigh** It is WAY over my head to fix the attributes and tax bugs with Edit Orders.. So I targeted the low hanging fruit of making sure this add-on was v1.5 ready and a few minor changes that I could easily make..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #588
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    OK, I *think* I have the attributes bug fixed when adding new products with attributes. At least it's working for me with a variety of scenarios, but there could be problems from the way other users have their attributes set up. Mine are all priced by attributes, this may or may not affect this functionality. So, hopefully some folks will try this out and report back their results.

    To reiterate, the problem I was having was when adding products with attributes and the products are using the sale/special price and that checkbox is selected on the finial step when entering quantity. It was adding up prices incorrectly, really large prices as if combining the sale price with the regular price.

    Here's what I did:

    in admin/edit_orders.php on line 1294 of an unaltered file find:
    PHP Code:
    or die("Failed to connect database: ");
                    while(
    $row10a=mysql_fetch_array($result10aMYSQL_NUM)) { 
                                            if (
    $row10a[2] == && $_POST[applyspecialstoprice])
                                                
    $newpricechange zen_get_discount_calc($add_product_products_id$row10a[3], $row10a[0], $add_product_quantity); 
    and change it to this:

    PHP Code:
    or die("Failed to connect database: ");
                    
        
    $new_attributes_price'';
        
    $attributes_values $result10a;
        
    $attributes_price_final zen_get_attributes_price_final($attributes_values->fields["products_attributes_id"], 1$attributes_values'false');
        
    $attributes_price_final_value $attributes_price_final;
        
    $attributes_price_final $currencies->display_price($attributes_price_finalzen_get_tax_rate(1), 1);
      if (
    $attributes_values->fields["attributes_discounted"]) {
        
    $new_attributes_price zen_get_attributes_price_final($attributes_values->fields["products_attributes_id"], 1'''false');
        
    $new_attributes_price zen_get_discount_calc($add_product_products_idtrue$new_attributes_price);
        if (
    $new_attributes_price != $attributes_price_final_value) {
          
    $new_attributes_price $currencies->display_price($new_attributes_pricezen_get_tax_rate(1), 1);
        } else {
          
    $new_attributes_price '';
        }
      }
                    while(
    $row10a=mysql_fetch_array($result10aMYSQL_NUM)) { 
                                            if (
    $row10a[2] == && $_POST[applyspecialstoprice])
                                                
    $newpricechange $new_attributes_price
    If anyone else wants to try it out and let me know what you experience I will try to fix any problems that arise. Hopefully it won't cause any problems and it will all work the way it should in every scenario.
    Last edited by lankeeyankee; 31 Aug 2012 at 06:35 AM.

    Zen Cart and it's community are the best!!

  9. #589
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    scratch that, it only works if there is one attribute with a price, if you have more than one attribute that adds to the price this won't work. This is what happens when you have been working on the computer all day and you start digging into code after 1am and forget the basic principals of testing thoroughly before opening your big mouth.

    I will give it another whirl tomorrow when I am fresher and more on the ball.

    Zen Cart and it's community are the best!!

  10. #590
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Edit Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!

    Quote Originally Posted by lankeeyankee View Post
    scratch that, it only works if there is one attribute with a price, if you have more than one attribute that adds to the price this won't work. This is what happens when you have been working on the computer all day and you start digging into code after 1am and forget the basic principals of testing thoroughly before opening your big mouth.

    I will give it another whirl tomorrow when I am fresher and more on the ball.
    I get it.. go to bed.. I have a software demo to conduct tomorrow morning and I need to hit the rack myself..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 59 of 66 FirstFirst ... 9495758596061 ... LastLast

Similar Threads

  1. v150 Edit Orders v4.0 Support Thread
    By DivaVocals in forum Addon Admin Tools
    Replies: 1877
    Last Post: 6 May 2025, 05:10 PM
  2. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 804
    Last Post: 18 Apr 2025, 12:04 AM
  3. 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
  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