Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEW! Complete Order Editing Tool!


jhilgeman

Recommended Posts

tipobje-error.jpg

Scratch my last post, again, this seems to be a problem I thought that I had already addressed but apparently Microsoft just likes to toy with me. Anyway in admin/edit_orders.php change

		//try to fix IE
	if (window.navigator.userAgent.indexOf('MSIE 6.0') != -1 && window.navigator.userAgent.indexOf('SV1') != -1) { 
				   obj.style.display = "inline"; //IE 6.x on Windows XP SP2
	} else if (window.navigator.userAgent.indexOf('MSIE 6.0') != -1) { 
				   obj.style.display = "inline"; //IE 6.x all else
	} else {		
	obj.style.display = "table-row";
	}//this should all just be obj.style.display = "table-row"; but IE is not standards compliant

to

		//try to fix IE
	if (window.navigator.userAgent.indexOf('MSIE') != -1) { 
				   obj.style.display = "inline"; //IE is not standards compliant, apparently not even IE7
	} else {		
	obj.style.display = "table-row";
	}//this should all just be obj.style.display = "table-row"; but IE is not standards compliant

 

This works for me in IE7, let me know how IE6 does.

 

 

Nope, sorry. IE7 is still giving the error. I've inserted an URL of the image ?'m given when reaching edit_orders.php. This message is coming twice before I can do anything of editing the order.

Link to comment
Share on other sites

Nope, sorry. IE7 is still giving the error. I've inserted an URL of the image ?'m given when reaching edit_orders.php. This message is coming twice before I can do anything of editing the order.

 

I can't replicate this problem- I'm running IE7 on my desktop and IE6 on my laptop and they both work fine. But for kicks and grins try this:

Change

if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

to

if (ie) {
var tipobj=document.all["dhtmltooltip"];
}
if (ns6) {
var tipobj=document.getElementById("dhtmltooltip");
}

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Nope, sorry. IE7 is still giving the error. I've inserted an URL of the image ?'m given when reaching edit_orders.php. This message is coming twice before I can do anything of editing the order.

 

Do me a favor- save the html source code to your pc and find out what exactly is on line 764. In my test site the javascript ends at line 744.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Do me a favor- save the html source code to your pc and find out what exactly is on line 764. In my test site the javascript ends at line 744.

 

Hi djmonkey1,

 

In the html-source of the page this is line 753:

 

tipobj.style.left=curX+offsetxpoint+"px"

 

and this is line 767:

 

tipobj.style.visibility="hidden"

 

 

The first one is set in the function 'positiontip' and the second one is in function 'hideddrivetip'. I've tried on both IE6 and IE7 and both are giving the same errors.

 

After your last reply about editing another line, the error was gone. I even could fowl the shipping addres same as billing address, but after a view tryouts (the creditcard fields won't show up after setting the menu to it) I'm getting the errors again.

 

Maybe you can help me with this (I hope so), but so far you've done a great job !

Link to comment
Share on other sites

marcusdesign/M@verick- try this:

 

In an otherwise unmodified v2.7.4 of edit_orders.php, replace

  #dhtmltooltip {
  position: absolute;
  width: 150px;
  border: 2px solid black;
  padding: 2px;
  background-color: lightyellow;
  visibility: hidden;
  z-index: 100;
  }

with

#dhtmltooltip{
position: absolute;
left: -300px;
width: 150px;
border: 1px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}

#dhtmlpointer{
position:absolute;
left: -300px;
z-index: 101;
visibility: hidden;
}

Then replace

<div id="dhtmltooltip"></div>

<script type="text/javascript">

/***********************************************
* Cool DHTML tooltip script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor='white'
tipobj.style.width='200'
}
}

document.onmousemove=positiontip

</script>

with

<script type="text/javascript">

/***********************************************
* Cool DHTML tooltip script II- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetfromcursorX=12 //Customize x offset of tooltip
var offsetfromcursorY=10 //Customize y offset of tooltip

var offsetdivfrompointerX=10 //Customize x offset of tooltip DIV relative to pointer image
var offsetdivfrompointerY=14 //Customize y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).

document.write('<div id="dhtmltooltip"></div>') //write out tooltip DIV
document.write('<img id="dhtmlpointer" src="images/arrow2.gif">') //write out pointer image

var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thewidth, thecolor){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=curX-tipobj.offsetWidth+"px"
nondefaultpos=true
}
else if (curX<leftedge)
tipobj.style.left="5px"
else{
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
pointerobj.style.left=curX+offsetfromcursorX+"px"
}

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
nondefaultpos=true
}
else{
tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
pointerobj.style.top=curY+offsetfromcursorY+"px"
}
tipobj.style.visibility="visible"
if (!nondefaultpos)
pointerobj.style.visibility="visible"
else
pointerobj.style.visibility="hidden"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
pointerobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip

</script>

 

This code also references an image that, if this code works for you, you should download and install in your admin/images directory. You can download that image and learn more about the way the tooltip works here: http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip2.htm (the image is about halfway down the page at Step 3).

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

marcusdesign/M@verick- try this:

 

In an otherwise unmodified v2.7.4 of edit_orders.php, replace

  #dhtmltooltip {

...

...

This code also references an image that, if this code works for you, you should download and install in your admin/images directory. You can download that image and learn more about the way the tooltip works here: http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip2.htm (the image is about halfway down the page at Step 3).

 

djmonkey1,

 

I'm sorry, but it's still not working. The page is working fine accept for these 2 messages. Maybe it's just my both browsers that's the problem.

 

I will look for it my self at dynamicdrive.com.

Link to comment
Share on other sites

I'm using 2.7.3

 

When I edit an order from within "orders.php" and send the info to the customer - the email sent is in english ?? (should be my language danish)

 

If I do the same from within "edit_orders.php" - no problem - the email is danish

 

Is that a bug?

 

Helle :-)

Link to comment
Share on other sites

marcusdesign/M@verick- try this:

 

YESSSSSSSSSS It works :thumbsup:

Thx for your help, Stew ;)

 

I've noticed a missing } at the end of the javascript just before </script> ....

 

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
pointerobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip
}
</script>

 

So happy... :lol:

Link to comment
Share on other sites

Truly a terrific contribution, which I have implemented in combination with the Fancier Invoices package by Pop the Top.

 

I must say that, considering how sophisticated the whole package is, I'm a little surprised it wasn't designed with a "send invoice" or "re-send invoice" or "send new invoice" or "send duplicate invoice" button or buttons in Admin. In my experience as a seller, sending new or duplicate invoices is something I frequently have to do for a customer, especially if there's any negotiation involved, or just for the sake of reminding someone who's tardy in paying. Sending a notification of changes and a link to the order page isn't quite the same at all. It's not a big deal to open the invoice in Internet Explorer and use "send page" to open up an e-mail in Outlook, but it's a little clumsy and time-consuming compared to the other aspects of the contribution.

 

My PHP knowledge is strictly "learn by doing," and is advanced enough that I can see how I might go about trying to add such a feature, but I expect it'll be pure hackery of some type - nowhere near as elegant as I suspect the designer of this package could come up with. Searching this thread, I've seen a few requests for this feature that apparently were never replied to, but maybe I missed the posts. If someone has an adequate solution ready-to-hand, or has done work on this already, I'd love to be relieved of the need to re-invent this particular wheel.

 

The other work that I have to do "by hand" is to add a Paypal payment button. I don't want to try to implement the Paypal IPN, since I hear it's kind of buggy, but adding a Paypal button with the Paypal Outlook wizard makes for a cumbersome process. I expect I'll eventually be wanting to add a Google-Checkout button, too. Again, I'll probably work up some hack of my own - maybe even a VBA macro instead of a PHP application, but if someone has the solution ready-to-hand, I'd love to see it.

 

I'll probably be cross-posting this to the Fancier invoice threads, too. If there's a solution there, I'll come back here with it - and I hope you'll just consider this post a long thank you for what I repeat is a terrific contribution.

Link to comment
Share on other sites

djmonkey1,

 

I'm sorry, but it's still not working. The page is working fine accept for these 2 messages. Maybe it's just my both browsers that's the problem.

 

I will look for it my self at dynamicdrive.com.

 

It seems most likely that the problem lies in the content of your language definition file. Probably there is a special character such as a ' or " in one or more of the tips themselves thus causing the error. I can't think of what else it could be. If you're running IE on a Mac, maybe that could be it.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

If I do the same from within "edit_orders.php" - no problem - the email is danish

 

Is that a bug?

Sounds like a problem with your orders.php file.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

(!) Just a function missing too, when updating the coutry, states are not... ;) o:)

Make sure you got the whole modification to the CSS.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Truly a terrific contribution, which I have implemented in combination with the Fancier Invoices package by Pop the Top.

 

I must say that, considering how sophisticated the whole package is, I'm a little surprised it wasn't designed with a "send invoice" or "re-send invoice" or "send new invoice" or "send duplicate invoice" button or buttons in Admin. In my experience as a seller, sending new or duplicate invoices is something I frequently have to do for a customer, especially if there's any negotiation involved, or just for the sake of reminding someone who's tardy in paying. Sending a notification of changes and a link to the order page isn't quite the same at all. It's not a big deal to open the invoice in Internet Explorer and use "send page" to open up an e-mail in Outlook, but it's a little clumsy and time-consuming compared to the other aspects of the contribution.

That's a good idea. I'll look into implementing that for the 3.0 release, which should be pretty sick if I ever get it together....

 

My PHP knowledge is strictly "learn by doing," and is advanced enough that I can see how I might go about trying to add such a feature, but I expect it'll be pure hackery of some type - nowhere near as elegant as I suspect the designer of this package could come up with. Searching this thread, I've seen a few requests for this feature that apparently were never replied to, but maybe I missed the posts. If someone has an adequate solution ready-to-hand, or has done work on this already, I'd love to be relieved of the need to re-invent this particular wheel.

 

The other work that I have to do "by hand" is to add a Paypal payment button. I don't want to try to implement the Paypal IPN, since I hear it's kind of buggy, but adding a Paypal button with the Paypal Outlook wizard makes for a cumbersome process. I expect I'll eventually be wanting to add a Google-Checkout button, too. Again, I'll probably work up some hack of my own - maybe even a VBA macro instead of a PHP application, but if someone has the solution ready-to-hand, I'd love to see it.

 

I'll probably be cross-posting this to the Fancier invoice threads, too. If there's a solution there, I'll come back here with it - and I hope you'll just consider this post a long thank you for what I repeat is a terrific contribution.

I also want to add in PayPal backend capabilities, something like the Order Editor of C*******d (name redacted to protect the innocent) has, hopefully better. :)

 

Thanks for the kind words!

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

I was hoping that I might be able to get a good-enough-for-now send invoice function by adapting E-Mail Queue 2.0 - which creates an intermediate e-mail handler that allows the store owner to view and edit generated e-mails then send them out either immediately or on schedule.

 

E-Mail Queue adds its own e-mail handling functions along side tep_mail, and they're enabled with switches and interface in admin and if-then-else in files that use tep_mail. The EMQ 2.0 thread includes some discussion of futher adapting the code and installation for use on the admin side (admin starting with a different mail-handler than the catalog side on osCommerce).

 

I've hit an obstacle for now. Fancier Invoices introduces yet a third mail creation function of its own in its email_invoice.php file, and I haven't yet succeeded in adapting it adequately.

 

Even if I succeeded on this level (getting fancy invoices diverted to the queue prior to being sended), it would still be only a one-shot deal, since order editing would take place outside of Order Editor - which isn't the idea at all. I'd still need to make edited orders appear in the e-mail queue, which amounts to "back to square one," though with a bit more familiarity with the various e-mail functions available.

 

There must be a way to add similar e-mail functionality alongside the notification and comments code. I'm just not sure that I have time to figure it out right now.

Link to comment
Share on other sites

I have another client that has ALOT of products. is there anyway to have a search box instead of the drop downs?

 

Yes- there is already a simple javascript search function (it actually searches the drop-down menu) that you can implement by uncommenting line 2162:

			//echo '<input type="text" name="search" onKeyUp="searchDropdown(this.value,\'apcid\');" />';

and line 2176

		   //echo '<input type="text" name="search" onKeyUp="searchDropdown(this.value,\'appid\');" />';

 

I will be looking into something more advanced than this for future releases.

Edited by djmonkey1

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Yes- there is already a simple javascript search function (it actually searches the drop-down menu) that you can implement by uncommenting line 2162:
			//echo '<input type="text" name="search" onKeyUp="searchDropdown(this.value,\'apcid\');" />';

and line 2176

		   //echo '<input type="text" name="search" onKeyUp="searchDropdown(this.value,\'appid\');" />';

 

I will be looking into something more advanced than this for future releases.

 

 

I have searched the includes/javascript file and the edit_orders file but could not find that line. both file sstop at 2037

Link to comment
Share on other sites

I have searched the includes/javascript file and the edit_orders file but could not find that line. both file sstop at 2037
Then you're not using the most recent version. The search dropdown was included for the first time in v2.6.4 and the includes/javascript file was deleted as of that version as well. The most recent release is v2.7.4.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Then you're not using the most recent version. The search dropdown was included for the first time in v2.6.4 and the includes/javascript file was deleted as of that version as well. The most recent release is v2.7.4.

 

 

working on 2.7.4 and i get a tax error

 

Fatal error: Cannot redeclare tep_get_tax_description() (previously declared in /admin/includes/functions/general.php:29) in /admin/includes/functions/oe_functions.php on line 33

Link to comment
Share on other sites

working on 2.7.4 and i get a tax error

 

Fatal error: Cannot redeclare tep_get_tax_description() (previously declared in /admin/includes/functions/general.php:29) in /admin/includes/functions/oe_functions.php on line 33

There is a fatal flaw in the way I handle upgrade instructions....

 

You have to do this in order for the install to go smoothly (note that the changes to admin/includes/classes/order.php are the bare minimum necessary to avoid errors. You can, if you want, go through the install instructions for the version you are upgrading from and undo all the changes made to that file):

In admin/includes/classes/order.php FIND and DELETE the following lines of code, if they exist:

 

 

  $countryid = tep_get_country_id($this->delivery["country"]);
 $zoneid = tep_get_zone_id($countryid, $this->delivery["state"]);

 

 

 

Next, FIND and DELETE the following line of code if it exists:

 

		'tax_description' => tep_get_tax_description($orders_products['products_tax_class_id'], $countryid, $zoneid),

 

 

 

 

Then, open admin/includes/functions/general.php and FIND and DELETE the following code if it exists:

 

 

 

 /// Begin mods for Order Editor
// Return the tax description for a zone / class
// TABLES: tax_rates;
 function tep_get_tax_description($class_id, $country_id, $zone_id) {
$tax_query = tep_db_query("select tax_description from " . TABLE_TAX_RATES . " tr left join " . TABLE_ZONES_TO_GEO_ZONES . " za on (tr.tax_zone_id = za.geo_zone_id) left join " . TABLE_GEO_ZONES . " tz on (tz.geo_zone_id = tr.tax_zone_id) where (za.zone_country_id is null or za.zone_country_id = '0' or za.zone_country_id = '" . (int)$country_id . "') and (za.zone_id is null or za.zone_id = '0' or za.zone_id = '" . (int)$zone_id . "') and tr.tax_class_id = '" . (int)$class_id . "' order by tr.tax_priority");
if (tep_db_num_rows($tax_query)) {
  $tax_description = '';
  while ($tax = tep_db_fetch_array($tax_query)) {
	$tax_description .= $tax['tax_description'] . ' + ';
  }
  $tax_description = substr($tax_description, 0, -3);

  return $tax_description;
} else {
  return ENTRY_TAX;
}
 }

////

// Function	: tep_get_country_id
 // Arguments   : country_name		country name string
 // Return	  : country_id
 // Description : Function to retrieve the country_id based on the country's name
 function tep_get_country_id($country_name) {
$country_id_query = tep_db_query("select * from " . TABLE_COUNTRIES . " where countries_name = '" . $country_name . "'");
if (!tep_db_num_rows($country_id_query)) {
  return 0;
}
else {
  $country_id_row = tep_db_fetch_array($country_id_query);
  return $country_id_row['countries_id'];
}
 }

  // Function	: tep_get_zone_id
 // Arguments   : country_id		country id string	zone_name		state/province name
 // Return	  : zone_id
 // Description : Function to retrieve the zone_id based on the zone's name
 function tep_get_zone_id($country_id, $zone_name) {
$zone_id_query = tep_db_query("select * from " . TABLE_ZONES . " where zone_country_id = '" . $country_id . "' and zone_name = '" . $zone_name . "'");
if (!tep_db_num_rows($zone_id_query)) {
  return 0;
}
else {
  $zone_id_row = tep_db_fetch_array($zone_id_query);
  return $zone_id_row['zone_id'];
}
 }


// Function	: tep_html_quotes
 // Arguments   : string	any string
 // Return	  : string with single quotes converted to html equivalent
 // Description : Function to change quotes to HTML equivalents for form inputs.
 function tep_html_quotes($string) {
return str_replace("'", "'", $string);
 }

/////end Order Editor mods

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

There is a fatal flaw in the way I handle upgrade instructions....

 

You have to do this in order for the install to go smoothly (note that the changes to admin/includes/classes/order.php are the bare minimum necessary to avoid errors. You can, if you want, go through the install instructions for the version you are upgrading from and undo all the changes made to that file):

 

 

no luck i still have the same error :( i think i had 2.6.4

Link to comment
Share on other sites

no luck i still have the same error :( i think i had 2.6.4

If you've deleted the function tep_get_tax_description from admin/includes/functions/general.php it's not possible to still get that error; in fact the error doesn't even make any sense.

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

okay i have got the script running. i see the simple search boxes for the cat's and products. is there a way to have all of the products listed instead of going through the categories? because that would be perfect for my situation.

 

I.E. instead of the categories ---> then products.

 

it would just be a products box with all products listed?

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...