Order Comments Status/Update Boilerplate
When you have a team working to fulfill customer orders, and different people each day, it becomes vital to have a central place for recording what is going on with orders, plus providing customers with update emails and status updates.
We've been trying to use the customer order comments and status values to record what is going on with a customer.
However, a lot of responses are pretty standard. Thus it would be nice to have these boilerplate responses available and able to be managed and used easily on the customer orders admin page.
Is there a Zen Cart plugin to provide us with a set of standard customer boilerplate options? (I couldn't find one.) Each boilerplate item would have a title, content (hopefully HTML capable), and sort order.
Then we could have a drop down box on the admin customer order page which displays the boilerplate title, in the sort order. It would then let us select which boilerplate option gets put into the order comment box. We then get to edit/personalise the comments before updating the order comments and/or status.
There would need to be an admin page where we get to edit/add/delete boilerplate options.
Has this already been done?
Best regards, Lloyd Borrett.
MODERATOR COMMENT: A plugin was built and it is available here:
https://www.zen-cart.com/downloads.php?do=file&id=2222
Re: Order Comments Status/Update Boilerplate
I don't think it has been done, but it surely can be done. My first thought is to populate a new table with the boilerplates and present them via a drop down. Upon selection the comment is then populated.
Re: Order Comments Status/Update Boilerplate
You got me inspired, so I started to code this mod.
3 Attachment(s)
Re: Order Comments Status/Update Boilerplate
some images to give you an idea
Attachment 16267Attachment 16268Attachment 16269
A drop-down on the orders page to select the comment, and a separate page to add/edit/remove comments
Multilingual and html enabled
Re: Order Comments Status/Update Boilerplate
Looking good. I suggest a sort order will be required for the predefined comments.
Also need to look into how the comments will be handled in the emails.
My understanding is that comments by default are just text with no HTML handling.
Nice to be able to put HTML in the comments, especially links, but need to make sure it gets handled properly in the emails.
Best regards, Lloyd Borrett.
Re: Order Comments Status/Update Boilerplate
Quote:
Originally Posted by
lloyd_borrett
Looking good. I suggest a sort order will be required for the predefined comments.
Also need to look into how the comments will be handled in the emails.
My understanding is that comments by default are just text with no HTML handling.
Nice to be able to put HTML in the comments, especially links, but need to make sure it gets handled properly in the emails.
Best regards, Lloyd Borrett.
The basic functionality is working now. HTML can be used in the comments, but will only be recognized (obviously) when sending html mails. For example is the html comment is
HTML Code:
<p>test comment <a href="http://test-domain.com">link</a></p>
The plain text mail looks like "test comment link".
To overcome this "problem" some additional coding is still needed.
I'll make a repository on GitHub later, so any one who likes can test his code.
Re: Order Comments Status/Update Boilerplate
Re: Order Comments Status/Update Boilerplate
I tried using this with version 1.55d but it crashed the admin section. It appears that the auto_loaders file causes the issue. Any updates on this?
Re: Order Comments Status/Update Boilerplate
Quote:
Originally Posted by
n8pbm
I tried using this with version 1.55d but it crashed the admin section. It appears that the auto_loaders file causes the issue. Any updates on this?
I'll take a look at it tonight. Do you have any debug log?
Re: Order Comments Status/Update Boilerplate
I will take a look when I get a chance and let you know.