Page 1 of 66 1231151 ... LastLast
Results 1 to 10 of 657
  1. #1
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

    This version of Edit Orders is based on Edit Orders v2.04 that used to only be available on Scott Turner's site.

    With Scott's blessing (for those who have asked ) it has FINALLY been made it available in the Zen Cart downloads section:
    http://www.zen-cart.com/index.php?ma...oducts_id=1818

    This version of Edit Order has been re-numbered to clearly distinguish it from similar mods currently available.
    Last edited by DivaVocals; 4 Dec 2010 at 07:10 PM.
    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.

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

    Default Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Edit Orders v3.0 Rev1 includes the following updates:

    • Clean up and reorganize the readme file
    • Includes the properly modified orders.php file (no more manual edits required!!)
    • Add an admin flag that toggles the display of input fields required for use with Ty Package Tracker (must have Ty Package Tracker module installed to take advantage of this feature)
    • Add an admin flag that toggles the display of buttons required for use with Super Orders (must have Super Orders module installed to take advantage of this feature)
    • Removed all of the hard coded text and fixed file names and replaced them with proper language definitions
    • Replaced “Add Product” text link with an “Add Products button
    • Add icons to the customer section
    • Corrected table format and layout of the customer section.
    • Modified customer section layout so that field labels appear next to each field for each customer address type.
    • Removed unused left column call and corrected <head> section to remove unused/erroneous code.
    • Order status and send email features now work like Zen Cart 1.3.9 (includes the no e-mail and hidden “admin” comments options)
    • Improved more intuitive page navigation and integration with the order (and Super Orders -- if installed) pages
    • The back button now returns to the order list page
    • Added order details button to return to the detail page of the order you are editing
    • The back button on the add product section returns to the order editing page
    • Added order details button on the add product section to return to the detail page of the order you are editing
    • Add an admin flag that toggles the display of navigation buttons required for use with Super Orders


    Edit Orders v3.0 Future Enhancements
    (these changes will be coming VERY soon!)

    • Support for "optional" attributes
    • Ability to delete attributes from products
    • Incomplete Order Currency Support
    • Improved Integration with Reward Points module
    • Better support for order total mods
    • Add Shipping Rate Table on the order Edit page (will pull in rates for shipping modules which are active in the store)
    • Add Resend Order Confirmation E-Mails
    • Edit Orders will correctly notify admin when an update was attempted and no changes were actually entered.
    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.

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

    Default Super Orders v1.3.9 users only!!

    Super Orders v1.3.9 users only!!
    IF you are using Super Orders v1.3.9 (This is the version dated Jul 05 2010 by That Software Guy) you will need to make a minor update to your Super Orders files to use it (Super Orders) with Edit Orders v3.0 Rev 1.

    I will submitting a minor update to Edit Orders v3.0 Rev 1 to include the required Super Orders patch. If you need this patch before this update is activated in the downloads section you may PM me and I will provide you with instructions on how to get the Super Orders v1.3.9 patch.

    Note:
    This Super Orders patch will NOT be required when Super Orders 3.0 is released.
    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.

  4. #4
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    976
    Plugin Contributions
    6

    Default Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Great work Diva, however, a few of points:

    1. If you change all <br> into <br />, the merging of files will become simpler and quicker.

    2. For me, most of the numerical inputs on the edit page were left-aligned. I spent hours trying to right-align them but could not find a fix. Could you please advise on how to right-align.

    3. Changing the tax amount did not change any other values, including the subtotals or totals. Have I missed something or is this the way it works.

    4. Can you please send me the patch for superorders. Although I changed my edit_orders_functions so that it works with superorders, I would like to see your solution.

    Thanks
    Last edited by dw08gm; 7 Dec 2010 at 02:10 PM. Reason: point 4 added

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

    Default Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Thanks.. glad you like it..

    Quote Originally Posted by dw08gm View Post
    1. If you change all <br> into <br />, the merging of files will become simpler and quicker.
    Call me anal, but I changed them because when validating the HTML for the page, <br> validates for the doctype, but <br /> does not..

    Quote Originally Posted by dw08gm View Post
    2. For me, most of the numerical inputs on the edit page were left-aligned. I spent hours trying to right-align them but could not find a fix. Could you please advise on how to right-align.
    I did not attempt to align the inputs, and would need to double check what CSS change is required for this... (not sure off the top of my head.. Will need to look into this later tonight or tomorrow..

    Quote Originally Posted by dw08gm View Post
    3. Changing the tax amount did not change any other values, including the subtotals or totals. Have I missed something or is this the way it works.
    Are you referring to the "Tax" field on the product line???
    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. #6
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    976
    Plugin Contributions
    6

    Default Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Quote Originally Posted by DivaVocals View Post
    Are you referring to the "Tax" field on the product line???
    Yes and also the shipping tax.

    Did you happen see my point 4 - re superorders patch - which I added as a post edit.

    Cheers

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

    Default

    I was in and out when I replied so I didn't see your post edit.. LOL..
    Re:Super Order patch, it's available in the Zen Cart downloads now..

    Re: Product tax & shipping tax fields.. Those two fields have for the longest only been display only fields in Edit Orders.. Youll see the values entered on the order, but the update does not update any of the product line or order totals based on the values entered in these fields..(you have to manually update them yourself) Shipping tax clearly indicates this on the Edit Orders page, while the prodct tax is not so clearly labeled.. This is something that will be examined and possibly addressed in the next update..

    Quote Originally Posted by dw08gm View Post
    Yes and also the shipping tax.

    Did you happen see my point 4 - re superorders patch - which I added as a post edit.

    Cheers
    Posted via Mobile Device

  8. #8
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    976
    Plugin Contributions
    6

    Default Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Quote Originally Posted by DivaVocals View Post
    Re:Super Order patch, it's available in the Zen Cart downloads now..
    Thanks

    Found it in Edit_Orders v3.0 rev1a

    http://www.zen-cart.com/index.php?ma...oducts_id=1818

    Cheers

  9. #9
    Join Date
    Dec 2010
    Location
    Well... across all the world, a while here then there...
    Posts
    13
    Plugin Contributions
    0

    help question Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Hi guys, I just install latest Edit Orders, but I have problem once I trying edit order. I can see only empty screen.
    My log say this:

    Code:
    [08-Dec-2010 22:34:30] PHP Warning:  require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
    [08-Dec-2010 22:34:30] PHP Warning:  require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
    [08-Dec-2010 22:34:30] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
    I have been looking into the file init_languages.php

    Code:
    <?php
    /**
     * @package admin
     * @copyright Copyright 2003-2010 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: init_languages.php 15995 2010-04-19 17:41:54Z drbyte $
     */
    if (!defined('IS_ADMIN_FLAG')) {
      die('Illegal Access');
    }
    // set the language
      if (!isset($_SESSION['language']) || isset($_GET['language'])) {
    
        include(DIR_WS_CLASSES . 'language.php');
        $lng = new language();
    
        if (isset($_GET['language']) && zen_not_null($_GET['language'])) {
          $lng->set_language($_GET['language']);
        } else {
          $lng->get_browser_language();
          $lng->set_language(DEFAULT_LANGUAGE);
        }
    
        $_SESSION['language'] = (zen_not_null($lng->language['directory']) ? $lng->language['directory'] : 'english');
        $_SESSION['languages_id'] = (zen_not_null($lng->language['id']) ? $lng->language['id'] : 1);
        $_SESSION['languages_code'] = (zen_not_null($lng->language['code']) ? $lng->language['code'] : 'en');
      }
    
    // temporary patch for lang override chicken/egg quirk
      $template_query = $db->Execute("select template_dir from " . TABLE_TEMPLATE_SELECT . " where template_language in (" . (int)$_SESSION['languages_id'] . ', 0' . ") order by template_language DESC");
      $template_dir = $template_query->fields['template_dir'];
    
    // include the language translations
      require(DIR_WS_LANGUAGES . $_SESSION['language'] . '.php');
      $current_page = basename($PHP_SELF);
      if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page)) {
        include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page);
      }
    
      if ($za_dir = @dir(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions')) {
        while ($zv_file = $za_dir->read()) {
          if (strstr($zv_file, '.php')) {
            require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions/' . $zv_file);
          }
        }
        $za_dir->close();
      }
    See the red code.

    Can you help me please ?

    Thank you.

    BTW I merged all files properly and copy all folders as it should be.

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

    Default Re: Edit Orders v3.0 for Zen Cart 1.3.9 Support Thread

    Is your store's default language something other than english??? I'm guessing here, but the parts highlighted in blue would seem to lean towards you having a language file named 1.php which Edit Orders cannot find since there are no language files in Edit Orders for this language.. (which by the way is kinda non-standard for how language files are usually named)

    Quote Originally Posted by cyberian37 View Post
    Hi guys, I just install latest Edit Orders, but I have problem once I trying edit order. I can see only empty screen.
    My log say this:

    Code:
    [08-Dec-2010 22:34:30] PHP Warning:  require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
    [08-Dec-2010 22:34:30] PHP Warning:  require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/xxxx/includes/init_includes/init_languages.php on line 35
    [08-Dec-2010 22:34:30] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/includes/init_includes/init_languages.php on line 35
    I have been looking into the file init_languages.php

    Code:
    <?php
    /**
     * @package admin
     * @copyright Copyright 2003-2010 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: init_languages.php 15995 2010-04-19 17:41:54Z drbyte $
     */
    if (!defined('IS_ADMIN_FLAG')) {
      die('Illegal Access');
    }
    // set the language
      if (!isset($_SESSION['language']) || isset($_GET['language'])) {
    
        include(DIR_WS_CLASSES . 'language.php');
        $lng = new language();
    
        if (isset($_GET['language']) && zen_not_null($_GET['language'])) {
          $lng->set_language($_GET['language']);
        } else {
          $lng->get_browser_language();
          $lng->set_language(DEFAULT_LANGUAGE);
        }
    
        $_SESSION['language'] = (zen_not_null($lng->language['directory']) ? $lng->language['directory'] : 'english');
        $_SESSION['languages_id'] = (zen_not_null($lng->language['id']) ? $lng->language['id'] : 1);
        $_SESSION['languages_code'] = (zen_not_null($lng->language['code']) ? $lng->language['code'] : 'en');
      }
    
    // temporary patch for lang override chicken/egg quirk
      $template_query = $db->Execute("select template_dir from " . TABLE_TEMPLATE_SELECT . " where template_language in (" . (int)$_SESSION['languages_id'] . ', 0' . ") order by template_language DESC");
      $template_dir = $template_query->fields['template_dir'];
    
    // include the language translations
      require(DIR_WS_LANGUAGES . $_SESSION['language'] . '.php');
      $current_page = basename($PHP_SELF);
      if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page)) {
        include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $current_page);
      }
    
      if ($za_dir = @dir(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions')) {
        while ($zv_file = $za_dir->read()) {
          if (strstr($zv_file, '.php')) {
            require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/extra_definitions/' . $zv_file);
          }
        }
        $za_dir->close();
      }
    See the red code.

    Can you help me please ?

    Thank you.

    BTW I merged all files properly and copy all folders as it should be.
    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 1 of 66 1231151 ... 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. 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