Results 1 to 10 of 1920

Hybrid View

  1. #1
    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 delia View Post
    ...I'm getting an error when trying to edit an order:

    [21-Mar-2015 10:54:44 America/Los_Angeles] PHP Warning: include_once(includes/modules/shipping/usps.php): failed to open stream: No such file or directory in /home/user/public_html/includes/classes/shipping.php on line 58
    ...
    Appears during the upgrade of Zen Cart from 1.5.1 to 1.5.4 the file "/includes/classes/shipping.php" was replaced with a copy from Zen Cart 1.5.4. This file (among others) requires modification for Edit Orders to work. Please re-install Edit Orders (and double check all "modified code files").
    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

  2. #2
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Edit Orders v4.0 Support Thread

    This was working yesterday until I installed another mod and overwrote the orders.php file in admin. I had put the changes into the classes / shipping.php.

    Actually after trying to get something that works, I now have another error - not on edit_orders.php but on orders.php. As it's a error I've never seen before and it happens no matter what orders.php version I upload, I don't think it's connected to the edit orders mod. There's now something really screwy going on - That post on that error is here.

    I'm beginning to think I'm cursed......
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  3. #3
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Hi all,

    i've installed a new zen cart 1.5.4 and add the Edit Order module along with Rewar point, again . It works well except for one little thing, here two images to explai it simly:
    Here before i modified the order:
    ot_before.jpg

    Here after the edit.
    ot_after.jpg

    The last line "Punti guadagnati" (Earned Reward Points) got the symbol even if i completely ignore that field (i just modified from 3 to 5 the shipping cost).
    Is there a way to avoid this?

  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 izar74 View Post
    Hi all,

    i've installed a new zen cart 1.5.4 and add the Edit Order module along with Rewar point, again . It works well except for one little thing, here two images to explai it simly:
    Here before i modified the order:
    ot_before.jpg

    Here after the edit.
    ot_after.jpg

    The last line "Punti guadagnati" (Earned Reward Points) got the symbol even if i completely ignore that field (i just modified from 3 to 5 the shipping cost).
    Is there a way to avoid this?
    It's a known issue with Rewards Points.. I think there is a fix for this posted on the Rewards Points support thread.. not really an Edit Orders issue..
    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
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by DivaVocals View Post
    It's a known issue with Rewards Points.. I think there is a fix for this posted on the Rewards Points support thread.. not really an Edit Orders issue..
    Hi Diva ,

    i found the culprit, in \admin\edit_orders.php line 432 is:
    PHP Code:
    $order_total['text'] = $currencies->format($order_total['value'], true$order->info['currency'], $order->info['currency_value']); 
    tell me if i get it right, basically It take the order_total['value'] and put it in the order_total['text'] after formatting it with currencies.

    Would something like
    PHP Code:
    $order_total['text'] =  $order_total['value']; 
    do the same but without formatting?

    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 izar74 View Post
    Hi Diva ,

    i found the culprit, in \admin\edit_orders.php line 432 is:
    PHP Code:
    $order_total['text'] = $currencies->format($order_total['value'], true$order->info['currency'], $order->info['currency_value']); 
    tell me if i get it right, basically It take the order_total['value'] and put it in the order_total['text'] after formatting it with currencies.

    Would something like
    PHP Code:
    $order_total['text'] =  $order_total['value']; 
    do the same but without formatting?

    Thanks
    Nope.. The fix would NOT be in the \admin\edit_orders.php file at all.. because like I said.. It's not an Edit Orders issue.. It's a Rewards Points issue..
    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
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by DivaVocals View Post
    Nope.. The fix would NOT be in the \admin\edit_orders.php file at all.. because like I said.. It's not an Edit Orders issue.. It's a Rewards Points issue..
    Sorry Diva, maybe i'm a little odd buy i cannot understand how this error could be related to Reward Point... It ìs generated when i edit an order using Edit order...
    Maybe I explained bad..
    1. I put ad order
    2. I went to admin and edited the order using Edit order to change the shipping price
    3. After udating i saw that in the field of the points there was a "€" more" , added by the editing. Checking the database i found that the Value field was unchanged, but the TEXT field had a "€" (i'm referring to the order_total table in the database).

    The thing that i'm traying to say is that the Reward point module is not involved after i put the order, all the admin part regards the edit order module. It is the Edit Order module that Edit the fields and modified it... or my logic is wrong?

    By the way thanks for the advice

 

 

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