Page 2 of 2 FirstFirst 12
Results 11 to 20 of 1923

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by lhungil View Post
    Try making the following change (to Edit Orders 4.1.2) and let us know if it solves the problem for you (if you report it fixes the issues - the code will be added to the next release of Edit Orders).

    Edit "/admin/edit_orders.php". Around line 245 change the int cast to a float cast. The original code looks like:
    Code:
    $_POST['update_products'] = zen_db_prepare_input($_POST['update_products']);
    foreach($_POST['update_products'] as $orders_products_id => $product_update) {
      $product_update['qty'] = (int) $product_update['qty'];
    After making your changes the code should look like:
    Code:
    $_POST['update_products'] = zen_db_prepare_input($_POST['update_products']);
    foreach($_POST['update_products'] as $orders_products_id => $product_update) {
      $product_update['qty'] = (float) $product_update['qty'];
    Thanks!!! It works...

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

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by Maladi3 View Post
    ... I use table discounts to do 90 percent of our store. ... with this new plugin my Table discounts dont show up right inside the invoices.
    The "Table Discounts" module is commercial. I do not own a copy of the module and as such am not able to look at the source code to determine the exact cause of the problem.

    By default the order total values are passed to and from the Zen Cart database untouched... So if they are entered as negative they stay negative and if they are entered as positive they are left as positive... Which works for about 85% of order total modules.

    Some order total modules do need special handling if the modules expect certain global variables or session variables to be populated. It is possible "Table Discounts" is one of these modules will require some special handling. Without knowing the special handling required... It will be hard for us to help you.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Jul 2010
    Posts
    37
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by DivaVocals View Post
    What version of Edit Orders??

    When you get a blank page there is likely an error log that was created.. what does the error log file say?? What other modules do you have installed??
    version is EDIT ORDERS 4.1.2, Zen Cart 1.5.1

    Ok the error was this:
    [10-Oct-2013 10:15:32 America/New_York] PHP Fatal error: Call to undefined function GetRewardPoints() in /home/creative/public_html/includes/modules/order_total/ot_reward_points_display.php on line 40

    Thing is that the rewards mod doesn't touch the code in the admin that I know of. Other mods (I have a lot) are Adv Shipper Mod, Rewards Mod, Monthly Sales...those are the big ones.

    I also wanted to note that although I can add or delete products, the subtotal does not change. The product pricing will but the subtotal stays the same as the original order

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

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by smurfy1 View Post
    Ok the error was this:
    [10-Oct-2013 10:15:32 America/New_York] PHP Fatal error: Call to undefined function GetRewardPoints() in /home/creative/public_html/includes/modules/order_total/ot_reward_points_display.php on line 40

    Thing is that the rewards mod doesn't touch the code in the admin that I know of. Other mods (I have a lot) are Adv Shipper Mod, Rewards Mod, Monthly Sales...those are the big ones.
    Ummm, but clearly it affects order totals which means when you administer orders, errors could indeed show up in the admin -- otherwise you wouldn't get this error message, right???

    The "call to an undefined function" error says that the issue is possibly with your Rewards Points module.. I would take a look at your Rewards Points module and make sure it's installed correctly..

    So going back to my original response to you requesting more information.. you still haven't answered:

    What other modules do you have installed??
    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.

  5. #5
    Join Date
    Jul 2010
    Posts
    37
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by DivaVocals View Post
    Ummm, but clearly it affects order totals which means when you administer orders, errors could indeed show up in the admin -- otherwise you wouldn't get this error message, right???

    The "call to an undefined function" error says that the issue is possibly with your Rewards Points module.. I would take a look at your Rewards Points module and make sure it's installed correctly..

    So going back to my original response to you requesting more information.. you still haven't answered:

    What other modules do you have installed??
    I did specify other mods I have installed: Ceon Advanced Shipper, Rewards Points, Monthly Sales,Ultimate SEO, Google Analytics,Google Merchant Feeder, Tabbed Products Pro,Recover Cart Sales,Sitemap xml

    I'll look at Rewards Points. Thanks

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

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by smurfy1 View Post
    I did specify other mods I have installed: Ceon Advanced Shipper, Rewards Points, Monthly Sales,Ultimate SEO, Google Analytics,Google Merchant Feeder, Tabbed Products Pro,Recover Cart Sales,Sitemap xml

    I'll look at Rewards Points. Thanks
    Your previous response was a bit vague specifically "Adv Shipper Mod, Rewards Mod". Ceon Advanced Shipper is better.. (more specific) However there are two Rewards Points mods that I am aware of.. Which one do you have installed??
    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.

  7. #7
    Join Date
    Jul 2010
    Posts
    37
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by DivaVocals View Post
    Your previous response was a bit vague specifically "Adv Shipper Mod, Rewards Mod". Ceon Advanced Shipper is better.. (more specific) However there are two Rewards Points mods that I am aware of.. Which one do you have installed??
    Didn't know where were two...sorry
    Reward Point Full Suite
    I was able to go into the database and correct the totals but when they were corrected, it also shifted the arrangement of the items. Previously you would have SubTotal, Shipping, Coupon, Total and then Reward Points. After database change, the order is now Shipping,Rewards Points,SubTotal, Total and then Coupon. Only the order changed in the database has this change in invoice order. For the meantime, I'm hoping it's isolated to this one order and leaving it be (unless you have a suggestion). I have to leave town for a week but will post again if problem keeps happening

  8. #8
    Join Date
    Aug 2008
    Posts
    105
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Hello
    I am having a problem with Edit Orders.
    When we go to edit the quantity amount in an order, it will delete items from the order that have a .5 quantity amount. .5 is our minimum order amount on many items. This happened on an order where there were 8 line items ordering .5 and 3 line items with larger amounts, when she adjusted the larger amount from 3 to 2 and hit update, it removed the line items that had .5 (unadjusted) in the quantity amount.
    I looked through the thread and didn't see anything that could help.
    Zen version 1.5.1
    add ons
    Fuel Slim box
    Image Handler 4
    CKEDITOR
    Column Layout Grid
    Simple Google Analytics
    CEON URI MAPPING
    SITEMAP XML
    Cross Sell Plus Advanced Sell Combo
    Multi Cross Sell
    SALES REPORT
    Email Address Exporter
    Edit Order - INSTALLED
    CSS/JS loader
    Fast and easy checkout

    url - www.QuiltsInMontana.com

    Can anyone help me out please?!
    Mona

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

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by smurfy1 View Post
    ...
    Ok the error was this:
    [10-Oct-2013 10:15:32 America/New_York] PHP Fatal error: Call to undefined function GetRewardPoints() in /home/creative/public_html/includes/modules/order_total/ot_reward_points_display.php on line 40
    ...
    The product pricing will but the subtotal stays the same as the original order
    If an error occurs in an Order Total module such as "reward points" it will cause problems with order totals in "Edit Orders". The most common issue we see with Order Total modules is many are not coded to work when loaded in the Zen Cart admin interface. This is documented in the readme.

    Most likely your "reward points" module includes some additional files (such as extra_functions) which are not available to the admin (and not loaded on the fly by the order total module at runtime if needed). Easiest solution would be to copy the relevant files (probably a file in "/includes/functions" or "/includes/functions/extra_functions") to the corresponding location on the admin side of Zen Cart.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 
Page 2 of 2 FirstFirst 12

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