Jump to content
jhilgeman

NEW! Complete Order Editing Tool!

Recommended Posts

On 3/8/2021 at 2:46 AM, Omar_one said:

@BrockleyJohn


Thank you for updating  order editor module.. I think it not update yet  1.0.7.18.
I just install it on 1.0.7.18 and  the edit order page not working its give HTTP ERROR 500 


PHP Warning:  require(includes/classes/currencies.php): failed to open stream: No such file or directory in /home/test/public_html/shop/admin/edit_orders.php on line 153

deleting the line from the edit_order.php and from edit_orders_add_product.php will fix the issue


require(DIR_WS_CLASSES . 'currencies.php');

 

and there is still the old tep_get_uprid  function still used in admin/order_editor/cart.php , admin/order_editor/order.php


PHP Deprecated:  The tep_get_uprid function has been deprecated. in /home/test/public_html/shop/admin/includes/functions/general.php on line 362

 

  and there is an error 


PHP Notice:  Undefined index: shipping_same_as_billing in /home/test/public_html/shop/admin/order_editor/css.php on line 180
PHP Notice:  Undefined index: shipping_same_as_billing in /home/test/public_html/shop/admin/order_editor/css.php on line 181
PHP Notice:  Undefined index: billing_same_as_customer in /home/test/public_html/shop/admin/order_editor/css.php on line 183
PHP Notice:  Undefined index: billing_same_as_customer in /home/test/public_html/shop/admin/order_editor/css.php on line 184

 and the lines from 180-187


#shippingAddressEntry { visibility: <?php echo (($_SESSION['shipping_same_as_billing'] == 'on') ? 'hidden' : 'visible') ?>; display: 
<?php echo (($_SESSION['shipping_same_as_billing'] == 'on') ? 'none' : 'table-row') ?>; }

#billingAddressEntry { visibility: <?php echo (($_SESSION['billing_same_as_customer'] == 'on') ? 'hidden' : 'visible') ?>; display: 
<?php echo (($_SESSION['billing_same_as_customer'] == 'on') ? 'none' : 'table-row') ?>; }


--></style>

and PHP Warning


PHP Warning:  Use of undefined constant ICON_SUCCESS - assumed 'ICON_SUCCESS' (this will throw an Error in a future version of PHP) in /home/test/public_html/shop/admin/order_editor/javascript.php on line 34
PHP Warning:  Use of undefined constant ICON_SUCCESS - assumed 'ICON_SUCCESS' (this will throw an Error in a future version of PHP) in /home/test/public_html/shop/admin/order_editor/javascript.php on line 44
PHP Warning:  Use of undefined constant ICON_SUCCESS - assumed 'ICON_SUCCESS' (this will throw an Error in a future version of PHP) in /home/test/public_html/shop/admin/order_editor/javascript.php on line 54
PHP Warning:  Use of undefined constant ICON_TICK - assumed 'ICON_TICK' (this will throw an Error in a future version of PHP) in /home/test/public_html/shop/admin/edit_orders.php on line 1996

 

I think this lines need to be delete from edit_order.php  


    <td width="100%" valign="top">
    <table border="0" width="100%" cellspacing="1" cellpadding="1" class="columnLeft">
    </table>
    </td>


Thank you!
Omar

Hi dear;

For the Undefined Index error on css.php

I am trying below code for example but it still does not fix, can you pls guide on what should the correction be?

<?php echo ((if (isset($_SESSION['shipping_same_as_billing']))$_SESSION['shipping_same_as_billing'] == 'on') ? 'hidden' : 'visible') ?>;

This is still not fixing it...

I am trying hard to update it for 1.0.8.12 but still way behind your guidance shall be deeply appreciated....

Thank you in advance...

Very Warm Regds./

radhavallabh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×