Latest News: (loading..)
aybc

OSC 2.3 order editor?

37 posts in this topic

HI Everyone,

 

I've noticed that there is an order editor for version 2.2 but i do not see anything for 2.3 yet.

 

Anyone have something they are aware of that i've missed?

 

Please let me know!

 

:)

Share this post


Link to post
Share on other sites

There are barely any contributions for 2.3 yet as contributions are being updated by users and developers. It might be that it will work out of the box, so try an install. If not, then you recode, rewrite the instructions. Or pay a developer to do it for you. Either way, you can then upload the shiny new 2.3.1 addon and bask in the glory of the thank you messages and emails you will get every day.

Share this post


Link to post
Share on other sites

HI Everyone,

 

I've noticed that there is an order editor for version 2.2 but i do not see anything for 2.3 yet.

 

Anyone have something they are aware of that i've missed?

 

Please let me know!

 

:)

 

which order editor?

 

I may well have already converted it

Share this post


Link to post
Share on other sites

This mod for 2.3 is GREAT, thanks!!

 

One question, when you edit an order, the left column of the sheet loses all "style" and ajax doesn't work by default for updates so no changes are saved. Any idea how to get those to work?

Share this post


Link to post
Share on other sites

This mod for 2.3 is GREAT, thanks!!

 

One question, when you edit an order, the left column of the sheet loses all "style" and ajax doesn't work by default for updates so no changes are saved. Any idea how to get those to work?

 

 

Corrected this and uploaded it to contribution adds on section. Still trying to figure out the ajax part of it

 

 

Derek-Paul

Share this post


Link to post
Share on other sites

Ive installed Order Editor for 2.3

 

Version: v1.1 Found Here

 

Under the "New Status" heading ->Notify Customer-> Send comments I get this error

 

Warning: include(comment_bar) : failed to open stream: No such file or directory in admin/edit_orders.php on line 1933

 

Warning: include(comment_bar) : failed to open stream: No such file or directory in admin/edit_orders.php on line 1933

 

Warning: include() : Failed opening 'comment_bar' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in admin/edit_orders.php on line 1933

 

*********************************************************

 

When I add a product to the order I get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at admin/includes/template_top.php:14) in admin/includes/functions/general.php on line 34

 

*********************************************************

 

When I click on New Order Email:

 

No email is sent & I get this error at the top

 

Fatal error: Call to undefined function tep_add_base_ref() in admin/edit_orders_ajax.php on line 1144

 

Help Appreciated :)

Share this post


Link to post
Share on other sites

Ive installed Order Editor for 2.3

 

Version: v1.1 Found Here

 

Under the "New Status" heading ->Notify Customer-> Send comments I get this error

 

Warning: include(comment_bar) : failed to open stream: No such file or directory in admin/edit_orders.php on line 1933

 

Warning: include(comment_bar) : failed to open stream: No such file or directory in admin/edit_orders.php on line 1933

 

Warning: include() : Failed opening 'comment_bar' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in admin/edit_orders.php on line 1933

 

*********************************************************

 

When I add a product to the order I get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at admin/includes/template_top.php:14) in admin/includes/functions/general.php on line 34

 

*********************************************************

 

When I click on New Order Email:

 

No email is sent & I get this error at the top

 

Fatal error: Call to undefined function tep_add_base_ref() in admin/edit_orders_ajax.php on line 1144

 

Help Appreciated :)

 

The modify headers fault has been answered 1000's of times. Try a search

Share this post


Link to post
Share on other sites

Ive installed Order Editor for 2.3

 

Version: v1.1 Found Here

 

Under the "New Status" heading ->Notify Customer-> Send comments I get this error

 

Warning: include(comment_bar) : failed to open stream: No such file or directory in admin/edit_orders.php on line 1933

 

Warning: include(comment_bar) : failed to open stream: No such file or directory in admin/edit_orders.php on line 1933

 

Warning: include() : Failed opening 'comment_bar' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in admin/edit_orders.php on line 1933

 

*********************************************************

 

When I add a product to the order I get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at admin/includes/template_top.php:14) in admin/includes/functions/general.php on line 34

 

*********************************************************

 

When I click on New Order Email:

 

No email is sent & I get this error at the top

 

Fatal error: Call to undefined function tep_add_base_ref() in admin/edit_orders_ajax.php on line 1144

 

Help Appreciated :)

 

Hiya,

 

Having similar issues.

 

For the first one I deleted lines:

 

<!-- Comment Toolbar 4.0 bof //-->

<tr>

<td><?php include ("comment_bar.php"); ?></td>

</tr>

<!-- Comment Toolbar 4.0 eof //-->

 

from admin/edit_orders.php as these lines weren't in v1.0, i think it relates to contribution Admin Comments Toolbar 4.0

 

The second issue i moved the line

 

require(DIR_WS_INCLUDES . 'template_top.php');

 

to below

 

<?php include('order_editor/css.php');

 

I have set Ajax as false but I still encounter an error if I tick the checkbox and click update. ok if clicking update with ticking checkbox. I think ticking the checkbox requires a further contribution to be installed so i suppose i can remove the checkboxes.

Share this post


Link to post
Share on other sites

When I add a product to the order I get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at admin/includes/template_top.php:14) in admin/includes/functions/general.php on line 34

 

After trying all the usual "headers already sent" tricks I cured this by reverting back to version 1.0 and losing template_top.php but my admin is mindspark so I don't need template_top.php

 

However

 

I get this on load:

 

Warning: number_format() expects parameter 1 to be double, string given in admin/edit_orders.php on line 1737

 

which will disappear after an update with ajax on but not without it

 

and when I click on + for sub total

 

Warning: number_format() expects parameter 1 to be double, string given in admin/edit_orders_ajax.php on line 485

 

Anyone have ideas on this

Share this post


Link to post
Share on other sites

 

However

 

I get this on load:

 

Warning: number_format() expects parameter 1 to be double, string given in admin/edit_orders.php on line 1737

 

which will disappear after an update with ajax on but not without it

 

and when I click on + for sub total

 

Warning: number_format() expects parameter 1 to be double, string given in admin/edit_orders_ajax.php on line 485

 

Anyone have ideas on this

 

A get around - not necessarily perfect but is working - apparently this may be a php5.3 issue

 

In edit_orders.php find:

 

      if (ORDER_EDITOR_USE_AJAX == 'true') {
  echo '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '" onChange="obtainTotals()"></td>' . "\n" .
          '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format($order->totals[$i]['value'], 2, '.', '') . '" size="6" onChange="obtainTotals()"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
	   } else {
  echo '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '"></td>' . "\n" .
          '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format($order->totals[$i]['value'], 2, '.', '') . '" size="6"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
	   }

 

change to:

 

      if (ORDER_EDITOR_USE_AJAX == 'true') {
  echo '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '" onChange="obtainTotals()"></td>' . "\n" .
          '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format((double)$order->totals[$i]['value'], 2, '.', '') . '" size="6" onChange="obtainTotals()"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
	   } else {
  echo '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="' . trim($order->totals[$i]['title']) . '"></td>' . "\n" .
          '                    <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . number_format((double)$order->totals[$i]['value'], 2, '.', '') . '" size="6"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
	   }

 

If anyone would like to pass comment on this or offer an alternative?

Share this post


Link to post
Share on other sites

Since this was included in this package, I'm posting here:

 

I've installed the Order Editor for 2.3.1, which is great so far. I've just installed the Invoice PDF 162 which was included in the package. The only issue I have is that at the bottom of the pdf_invoice.php, I get

Total: <strong>$83.65</strong>

 

I can't figure out how to get rid of the <strong>'s!

Share this post


Link to post
Share on other sites

Hi Carry G

 

I have got the same problem with the editing order, the left column of the sheet loses all the style

 

How did you fix that or does anyone else know

 

Thank you

 

Ian

Share this post


Link to post
Share on other sites

Thank you for the reply the munch

 

will that correct the style in the admin side of the site when going into the orders

 

Thank you

 

Ian

Share this post


Link to post
Share on other sites

I use that for any page that will be displayed on the regular site or the admin portion. It works the same. It's basically a small portion that converts those items from 2.2 to display properly in 2.3.1.

 

The only discrepancy I've noticed is that they discuss how to do it if there's any <script> within the portion that you would be deleting to make the template_top requirement, by using a $head_tag.='...'."\n";... That has actually screwed things up for me, so I still keep whatever is included between any <script>..</script> even if there's multiple scripts - and put the require(..template_top..) below the scripts. And that works great for me.

<script>.....</script>
<script>.....</script>
<?php require(DIR_WS_INCLUDES . 'template_top.php'); ?>

Edited by The Munch

Share this post


Link to post
Share on other sites

hi,

i'm using order editor http://www.oscommerc...tributions,1435 for my website www.totomise.com

and some of the client need to edit her order so i'm using admin to login and change the order.

but i find it that the member discount didn't update after i do adding/deletion the products. please advise.

 

 

order1.jpg

 

 

order2.jpg

 

thanks and regards

agus halim

Share this post


Link to post
Share on other sites

Hi,

 

I have installed this and have a question on a couple of things

 

1. 'New Order Email' button is not sending the email.

2. How do I get rid of the old buttons for Invoice etc from order and when you goto edit and order?

 

Thanks

Share this post


Link to post
Share on other sites

Further to this I have attached pis of the two areas I would like to remove the old buttons (shoppic1.jpg) and change the old button to look like your buttons *shoppic2.jpg)

post-296219-0-05872900-1330575491_thumb.jpg

post-296219-0-04610200-1330575501_thumb.jpg

Share this post


Link to post
Share on other sites

I have PDF Invoice installed and the config is set to true but no pdf are being sent.

 

Customers recieve the pdf when oreder is processed online.

 

When editing and order i clcik "SEND NEW ORDER CONFIRMATON" - no eamil sends.

 

ANY HELP OR POINTERS?

Share this post


Link to post
Share on other sites

Further to this I have attached pis of the two areas I would like to remove the old buttons (shoppic1.jpg) and change the old button to look like your buttons *shoppic2.jpg)

 

 

I have updated the buttons - use a compare tool to hack apart my orders.php

 

hope that saves time and helps you.

orders.php

Share this post


Link to post
Share on other sites

Hello

 

Installed Order Editor (release of 8 Aug 2011) and also have Purchase Order 1.4.1 (http://addons.oscommerce.com/info/1892).

 

If I change the Payment Method to "Purchase Order", I would like to have the purchase order specific fields become available for update. I saw a similar question posed in the 2.2 thread back in 2006, but couldn't locate an answer.

 

Any help would be greatly appreciated.

 

Thanks

Rob

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