Page 28 of 38 FirstFirst ... 182627282930 ... LastLast
Results 271 to 280 of 373
  1. #271
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Order Editor 1.3.7 Issues

    Quote Originally Posted by Mellon View Post
    just modified another order, same problem, total went to 0.00 I was able to edit it manually in the database but of course that's not very efficient
    I would say that either you do not have the latest version (available from Scott's site) or you have not installed the module incorrectly.. I am using Edit Orders with Super Orders and it works perfectly..
    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. #272
    Join Date
    Oct 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Order Editor 1.3.7 Issues

    Quote Originally Posted by srturner47 View Post
    mrtz - never seen that problem before. Strange... Don't know what to tell you as it doesn't do this for me...
    Thanks for your reply. I still can't find the way to fix it. Thinking about could it be because of default language is not English or no Tax, etc. Anyway, if I know the reason, I will post an update here :)

  3. #273
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Order Editor 1.3.7 Issues

    Quote Originally Posted by Mellon View Post
    just modified another order, same problem, total went to 0.00 I was able to edit it manually in the database but of course that's not very efficient
    have you tried it with english as default? I have mine with no tax and it works properly

  4. #274
    Join Date
    Jun 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Order Editor 1.3.7 Issues

    There were a couple of posts mentioning that the order total calculations were a bit peculiar. If anyone is interested, I modified the Edit Order page to calculate the sub-total, postage, VAT and grand total to my requirements. That being:
    • leaving VAT on the sub-total,
    • not having to re-input the postage without VAT before pressing update,
    • calculating the VAT to include VAT on the products and VAT on the post,
    • and calculating the grand total to be VAT from the sub-total and VAT from the postage.


    Whether or not this causes any problems I have yet to discover, but it seems to do what I want it to do.

    The following is a win merge patch for Edit Orders 2.03:

    (For those without winmerge, the left arrow is the original file, the right arrow is the new file.)

    Code:
    89c89
    
    <   $AddShippingTax = "0.0"; // e.g. shipping tax of 17.5% is "17.5"
    
    ---
    
    >   $AddShippingTax = "17.5"; // e.g. shipping tax of 17.5% is "17.5"
    
    593c593,596
    
    < 					$RunningTaxTotalChanges += (($_POST[shippingtaxrate] / 100) * $ot_value);
    
    ---
    
    > 					$ot_value = $ot_value / (1 + ($_POST[shippingtaxrate]/100));
    
    > 					$RunningTotalShippingTax = (($_POST[shippingtaxrate] / 100) * $ot_value);
    
    > 					$RunningTaxTotalChanges += $RunningTotalShippingTax;
    
    > 					$RunningTaxTotalShipping = $ot_value;
    
    636c639
    
    < 						$ot_value = $RunningSubTotal;
    
    ---
    
    > 						$ot_value = (($RunningSubTotal + $RunningTax) - $RunningTotalShippingTax);
    
    644a648,653
    
    > 						if($ot_class == "ot_shipping")
    
    > 						{
    
    > 						$ot_value = $RunningTaxTotalShipping + $RunningTotalShippingTax;
    
    > 						//                       $sendtotaltoorders = 2;
    
    > 						}											
    
    > 
    
    647c656,659
    
    < 						$ot_value = $RunningTotal;  }
    
    ---
    
    > 						$ot_value = $RunningTotal - $RunningTax;
    
    > 						//$ot_value =  $ot_value + $RunningTotalShippingTax;  
    
    > 						}

  5. #275
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Order Editor 1.3.7 Issues

    Just a quick question: If a product is deleted from an order using Edit Orders, is it re-stocked automatically?

    Thanks!
    Danielle

  6. #276
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Order Editor 1.3.7 Issues

    Quote Originally Posted by Danielle View Post
    Just a quick question: If a product is deleted from an order using Edit Orders, is it re-stocked automatically?

    Thanks!
    Nevermind, installed it on my test site and it does indeed re-stock, very nice mod!
    Danielle

  7. #277
    Join Date
    Oct 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Order Editor 1.3.7 Issues

    Can you please help me with changing $ to €? Euro is the only currency that I'm using in my shop, but still the $ shows on this mod (and this mod only).

    Also, the product names won't show at all on list (when adding new products to order) if I haven't savd them in English. Would it be possible to get the names from other language field or do I have to save all products in two languages?

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

    Default Using Edit Orders with Super Orders (Back button fix)

    Just wanted to post an update on this.. I tried virtualomega's fix (see previous post below), and it didn't work, but gave me a good hint on what the answer was..

    In edit_orders.php find:
    Code:
                <td class="pageHeading" align="right"><?php  echo '<a href="' . zen_href_link(FILENAME_ORDERS,  zen_get_all_get_params(array('action'))) . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
    Replace with:
    Code:
    <!-- BOF Required Super Orders edit to return to  super_orders.php instead of orders.php -->
                <td class="pageHeading" align="right"><?php echo  '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS,  zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oID .  '&action=edit', 'NONSSL') . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';  ?></td>
    <!-- EOF Required Super Orders edit to return to super_orders.php  instead of orders.php -->
                <!--
                <td class="pageHeading" align="right"><?php echo  '<a href="' . zen_href_link(FILENAME_ORDERS,  zen_get_all_get_params(array('action'))) . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';  ?></td>
                -->
    =========================================

    Quote Originally Posted by virtualomega View Post
    To fix this Back button issue:

    In edit_orders.php on line 659, find:
    Code:
                <td class="pageHeading" align="right"><?php  echo '<a href="' . zen_href_link(FILENAME_ORDERS,  zen_get_all_get_params(array('action'))) . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
    and replace with:
    Code:
                <td class="pageHeading" align="right"><?php  echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS,  'page=1&oID=' . $oID . '&action=edit', 'NONSSL') . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';

    Quote Originally Posted by DivaVocals View Post
    With regards to the slight quirk I posted about previously where the back button is not functioning correctly when using Super Orders and Edit Orders together (see post below), here is the fix:
    http://www.zen-cart.com/forum/showpo...postcount=1676
    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.

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

    Default Another Edit Order mod to use with Super Orders

    I also wanted to share on other minor edit I made to edit_orders.php to use with Super Orders. This will add an additional button that takes you back to the Super Orders detail page for the current order from the "Add Product" section of Edit Orders. (Currently there is only a "Back" button that returns you to the Edit Order page..)

    Look for this:
    Code:
    if($action == "add_product")
    A few lines down from there find this:
    Code:
    <td class="pageHeading" align="right"><?php echo '<a  href="' . zen_href_link(FILENAME_ORDERS,  zen_get_all_get_params(array('action'))) . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';  ?></td>
    Replace with this:
    Code:
    <!-- BOF Edit to return to current order being edited instead  of the order list page -->
                <td class="pageHeading" align="right">
                <?php echo '<a href="javascript:history.back()">'  . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';  ?>&nbsp;
                <?php echo '<a href="' .  zen_href_link(FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('oID',  'action')) . 'oID=' . $oID . '&action=edit', 'NONSSL') . '">' .  zen_image_button('button_details.gif', IMAGE_ORDER_DETAILS) .  '</a>'; ?></td>
                </td>
    <!-- EOF Edit to return to current order being edited instead of the  order list page -->
    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.

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

    Default Re: Using Edit Orders with Super Orders (Back button fix)

    To clarify, the code referenced below should be found around line 659 as virtualomega previously posted..

    Quote Originally Posted by DivaVocals View Post
    Just wanted to post an update on this.. I tried virtualomega's fix (see previous post below), and it didn't work, but gave me a good hint on what the answer was..

    In edit_orders.php find:
    Code:
                <td class="pageHeading" align="right"><?php  echo '<a href="' . zen_href_link(FILENAME_ORDERS,  zen_get_all_get_params(array('action'))) . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
    Replace with:
    Code:
    <!-- BOF Required Super Orders edit to return to  super_orders.php instead of orders.php -->
                <td class="pageHeading" align="right"><?php echo  '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS,  zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oID .  '&action=edit', 'NONSSL') . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';  ?></td>
    <!-- EOF Required Super Orders edit to return to super_orders.php  instead of orders.php -->
                <!--
                <td class="pageHeading" align="right"><?php echo  '<a href="' . zen_href_link(FILENAME_ORDERS,  zen_get_all_get_params(array('action'))) . '">' .  zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';  ?></td>
                -->
    =========================================
    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 28 of 38 FirstFirst ... 182627282930 ... LastLast

Similar Threads

  1. Editor issues with images
    By amebb in forum General Questions
    Replies: 0
    Last Post: 18 May 2011, 04:45 PM
  2. html editor issues?
    By 510ego in forum General Questions
    Replies: 2
    Last Post: 24 Feb 2011, 05:07 PM
  3. IE 7 issues with tables in ezpage editor
    By perkiekat in forum General Questions
    Replies: 2
    Last Post: 11 Nov 2009, 12:13 PM
  4. Page Editor and Mod Security issues
    By Scarlet in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 23 Apr 2009, 12:59 AM
  5. Define Pages Editor Issues
    By jemenvy in forum General Questions
    Replies: 3
    Last Post: 5 Apr 2007, 08:21 PM

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