Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC 2.3 order editor?


Guest

Recommended Posts

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!

 

:)

Link to comment
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

Link to comment
Share on other sites

  • 3 weeks later...

Hello i just released a 2.3 version of order editor, http://addons.oscommerce.com/info/7844

 

/Janne

My contributions

Mindsparx admin for 2.2

Mindsparx admin for 2.3

Mindsparx admin for 3.0

Mindsparx specials 2.2

Starproduct pimped for 2.2

Starproduct pimped for 2.3

Mindsparx template osc Sport 2.2

Mindsparx template Horizon 2.3

+ a few more...

Link to comment
Share on other sites

  • 1 month later...

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?

Link to comment
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

Link to comment
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 :)

Link to comment
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

Link to comment
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.

Link to comment
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

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
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?

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
Share on other sites

  • 6 months later...

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!

Link to comment
Share on other sites

  • 3 weeks later...

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

Link to comment
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
Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

  • 2 months later...

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

Thanks

Colin

Link to comment
Share on other sites

  • 2 weeks later...

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?

Link to comment
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

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

  • 2 months later...

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

 

 

To answer youre first question.

 

add below code to admin/include/function/general.php before closing tag ?>

 

function tep_add_base_ref($string) {

$i = 0;

$output = '';

$n=strlen($string);

for ($i=0; $i<$n; $i++) {

$char = substr($string, $i, 1);

$char5 = substr($string, $i, 5);

if ($char5 == 'src="' ) {$output .= 'src="' . HTTP_SERVER; $i = $i+4;}

else {

$output .= $char;

} }

return $output;

}

 

This is also the sollution for

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

 

 

Greetz

 

Twindaddy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...