Re: S04e08 - Canned order comments

Open to all! Ask other shopowners for help.
Omar_one
Senior Contributor
Posts: 677
Joined: Fri Oct 25, 2019 5:06 pm
Phoenix Version: v1.0.8.16
Has thanked: 100 times
Been thanked: 56 times

Re: S04e08 - Canned order comments

Post by Omar_one »

ecartz wrote: Sat May 28, 2022 1:27 pm I updated the zip.
fix confirm

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: S04e08 - Canned order comments

Post by radhavallabh »

ecartz wrote: Sat May 28, 2022 1:27 pm
radhavallabh wrote: Sat May 28, 2022 8:47 am Hi dear @ecartz please can you help fix this issue....
I updated the zip.
Hi dear @ecartz
Thank you for the update
The problem has resolved in inserting a new comment.

But The problem still persists when we try to edit a comment it does not save the edited comment in other languages dear.

Awaiting your reply;
Thank you in advance;
Warm Regds./
radhavallabh
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: S04e08 - Canned order comments

Post by ecartz »

radhavallabh wrote: Sun May 29, 2022 5:51 am But The problem still persists when we try to edit a comment it does not save the edited comment in other languages dear.
As near as I can tell, it does not and never has had the ability to add a translation to a canned comment after the initial translation. So if you have three languages, add a canned comment, and then add a fourth language, it will never be able to add a canned comment in that fourth language. You'd have to delete the canned comment and make a new one.

In this case, where it was simply broken, I think that the translations might exist in the database table. You could try going into phpMyAdmin and changing the order_comments_id on the translations to match the order_comments_id on the English version. Of course, it might be simpler just to truncate the table and start over.
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: S04e08 - Canned order comments

Post by radhavallabh »

ecartz wrote: Sun May 29, 2022 7:05 am
radhavallabh wrote: Sun May 29, 2022 5:51 am But The problem still persists when we try to edit a comment it does not save the edited comment in other languages dear.
As near as I can tell, it does not and never has had the ability to add a translation to a canned comment after the initial translation. So if you have three languages, add a canned comment, and then add a fourth language, it will never be able to add a canned comment in that fourth language. You'd have to delete the canned comment and make a new one.

In this case, where it was simply broken, I think that the translations might exist in the database table. You could try going into phpMyAdmin and changing the order_comments_id on the translations to match the order_comments_id on the English version. Of course, it might be simpler just to truncate the table and start over.
Understood dear :)
Shall reinsert them again!!

Thank you for the valuable reply;
Very Warm Regds./
radhavallabh
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: S04e08 - Canned order comments

Post by radhavallabh »

Hi dear;
When on a Order I use a canned comment to update the status of the order;
The comment appears as below with html tags under order comments after i post it.
Screenshot 2022-07-05 at 10-07-02 CE Phoenix Cart Administration Tool.png
Please can you help fix the issue;
Regds./
radhavallabh
You do not have the required permissions to view the files attached to this post.
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: S04e08 - Canned order comments

Post by burt »

Do you have a HTML editor installed? Is such a thing interfering ?
I am not here to build for you.
I am here to build with you. Let's help each other.
radhavallabh
Senior Contributor
Posts: 466
Joined: Tue Oct 27, 2020 4:09 am
Phoenix Version: 1.1.0.6
Has thanked: 29 times
Been thanked: 3 times

Re: S04e08 - Canned order comments

Post by radhavallabh »

burt wrote: Tue Jul 05, 2022 7:33 am Do you have a HTML editor installed? Is such a thing interfering ?
Yes dear I have Tinymce installed on canned_comments.php To make the message look more neat and appealing.
I think due to this the text is appended to the comment box with tags.

Please can you help me fix the error dear;
Thank you in advance;
Very Warm Regds./
radhavallabh
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: S04e08 - Canned order comments

Post by burt »

Turn off the HTML editor?

If that is not the answer you seek, ask for help from who-ever made it and then if they cannot or do not want to help you, get a Certified Developer to help.
I am not here to build for you.
I am here to build with you. Let's help each other.
14Steve14
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: S04e08 - Canned order comments

Post by 14Steve14 »

Where do I change the height of the box where the canned comment actually shows when updating an order. When I inspect in browser I can see that the box is 60 cols and 5 rows, but how do I make 6 rows. I cant see anything in the files.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: S04e08 - Canned order comments

Post by ecartz »

14Steve14 wrote: Tue Jun 18, 2024 9:34 am Where do I change the height of the box where the canned comment actually shows when updating an order.
https://github.com/CE-PhoenixCart/Phoen ... t.php#L140

Note that that is in core, not in canned comments. Canned comments just allows you to make a normal order comment from canned text.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply