Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Admin Comments Toolbar 2.0


skeedo

Recommended Posts

  • 4 months later...
  • 9 months later...

FWIW, the order status code actually seems to one numerical value LESS than the osC's order status codes.

 

For example, if you want to set the order status to Received, and Received is the listed as order status 1 in admin/orders_status.php, then the value in comment_bar.php should be 0 (zero).

 

Not sure if this is just because I have so many different statuses (is that statii) in my store, but I thought it might help someone.

 

It'd be nice, though, if it didn't automatically update the order status, just copy and paste the text into the status window, so I could edit the text if I wanted.

 

Great contrib!

 

-jared

Link to comment
Share on other sites

  • 3 months later...

Hi, all. Lately i'm having this stupid problem: when i add a comment to the order, the \n aren't interpreted anymore, and are just printed on the scrren... for example:

 

Drako.it

------------------------------------------------------

Numero di Ordine: 2004001753

Dettagli Fattura: http://www.test.it/drako_catalog/account_h...r_id=2004001753

Data di Ordine: mercoled? 13 ottobre, 2004

 

I commenti per il tuo ordine sono \n\n \n\n jhklhkjlhkjl hjk lhjk lhj

kl jhl jl hjl jjhk

gfdh hdfg hdfgh d

fdg hdfgh dfgh

 

Il tuo ordine ? stato aggiornato al seguente stato.Nuovo stato: BackOrder\n\nRispondi a questa E-mail in caso di problemi.\n

 

 

 

 

See? how do i resolve this issue? Anyone have a clue?

my contribution: Alex's Contributions

Link to comment
Share on other sites

  • 2 weeks later...

Does anybody know how I can pull the customers first name and automatically insert it into the comment? Right now I?m typing their name, this contribution has saved me many hours, but it would be great if I can automate that part.

Link to comment
Share on other sites

  • 5 weeks later...

Hi everybody!

First of all thank you for this nice mod.

 

I have a little problem:

I used the toolbar for the "mail" page. That one where you can send a mail directely to the customer

 

"www.domain.de/admin/mail.php?selected_box=customers&[email protected]"

 

This page is called directly from order detail page with above parameters

 

So the customer is preselected in the pulldown menu, I write some text, and press an admin toolbar button. The text will be added as expected, but the selection of the customer is gone and set to the first in the list.

 

Any hint or something to avoid that behaviour???

 

Thanx in advance

Peter

Link to comment
Share on other sites

  • 2 months later...
Hi everybody!

First of all thank you for this nice mod.

 

I have a little problem:

I used  the toolbar for the "mail"  page.  That one where you can send a mail directely to the customer

 

"www.domain.de/admin/mail.php?selected_box=customers&[email protected]"

 

This page is called directly from order detail page with above parameters

 

So the customer is preselected in the pulldown menu, I write some text, and press an admin toolbar button. The text will be added as expected, but the selection of the customer is gone and set to the first in the list.

 

Any hint or something to avoid that behaviour???

 

Thanx in advance

Peter

 

 

I'm not sure what you are referring to exactly, is this in MS 2.2?

 

I wrote this mod a couple of years ago so I don't know how it will handle with the newer stuff.

Link to comment
Share on other sites

  • 4 years later...

Hello,

 

I'm using the Admin Comments Toolbar with the Time Zone contribution. How do I modify the code where it picks up the time

myTextarea.value = '---<?php echo date("H:i:s"); ?> CST---\n\n' + obj;

so that the time will be equal to the one set by the time zone, like this:

date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR)

Thanks for your help.

Link to comment
Share on other sites

  • 2 years later...

hello All,

 

I am in really need of someones help as i can get this to work for me at all.

 

I copied the tacking number function and retitled it for RMA No., what i would like to do if possible is to prompt for the RMA and return the RMA number and add some additional text to the comment box after the RMA Number. I have already add the additional text to the English file, but cant get the additional text to work.

 

My code.

 

this works fine.

function getrma () {

usrrma = prompt("<?php echo TEXT_RMANO; ?>");

 

}

 

 

Try to add this TEXT_COMMENT_EXTENDED_10 to but cant get it to work...

 

<button class="cbutton" onClick="getrma(); return updateComment('<?php echo(TEXT_COMMENT_10); ?>' + usrrma,'2' + "\TEXT_COMMENT_EXTENDED_10\");"><?php echo TEXT_BUTTON_10; ?></button> 

 

any help would be greatly appreciated.

 

 

 

This is what i am trying to do

 

Text from TEXT_COMMENT_10

 

RMA NO. from the prompt box

 

more text from TEXT_COMMENT_EXTENDED_10

 

Thanks,

Russ

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