Page 1 of 1

[SOLVED]How to make the commenter's name unchangeable?

Posted: Wed Jan 06, 2021 10:58 am
by moco123
Hello everyone,
Happy new year!

I have a question about product review.
I use Opencart3/ Journal3 theme and set only customers can review.

I found that the commenter's name can be changed at will.
How to make the commenter's name unchangeable?

Many Thanks!

Re: How to make the commenter's name unchangeable?

Posted: Wed Jan 06, 2021 11:03 am
by sw!tch
Journal is a commercial product therefore you may be better off reaching out to Journal support, search the marketplace for compatible extension or if nothing exists consider posting a commercial request.

-

Re: How to make the commenter's name unchangeable?

Posted: Thu Jan 07, 2021 12:51 am
by moco123
Thanks for your reply.
Opencart default theme have same issue. Their review form setting is same.
Could some friends give me some ideas base on default theme ?
Many Thanks.

Re: How to make the commenter's name unchangeable?

Posted: Thu Jan 07, 2021 12:53 am
by straightlight
moco123 wrote:
Thu Jan 07, 2021 12:51 am
Thanks for your reply.
Opencart default theme have same issue. Their review form setting is same.
Could some friends give me some ideas base on default theme ?
Many Thanks.
Any URL with fresh installation (meaning without any extensions installed) you could demonstrate based on this analysis?

Re: How to make the commenter's name unchangeable?

Posted: Thu Jan 07, 2021 1:19 am
by moco123
Thanks for your reply.
You can test directly on Opencart Demo website: https://demo.opencart.com/
Register an account at will with any email address, such as ‘test@t.com
Comment after logging in, you will find that your name can be changed.

Re: How to make the commenter's name unchangeable?

Posted: Sat Jan 09, 2021 11:17 am
by moco123
Dear friends, any ideas?
Many Thanks!

Re: How to make the commenter's name unchangeable?

Posted: Sat Jan 09, 2021 11:28 am
by straightlight
moco123 wrote:
Sat Jan 09, 2021 11:17 am
Dear friends, any ideas?
Many Thanks!
Dear OP user, my previous reply question still applies.

Re: How to make the commenter's name unchangeable?

Posted: Sat Jan 09, 2021 2:20 pm
by by mona
Are you asking how to disable the input field for customers name when they write a review?
Add disabled to the end of the input field on the product page reviews section.

Since there is no OC version posted there is no code posted, but google will assist you.

Re: How to make the commenter's name unchangeable?

Posted: Mon Jan 11, 2021 6:34 am
by moco123
@by mona
Thanks for your reminding. I use 'readonly'. Done!

Re: How to make the commenter's name unchangeable?

Posted: Mon Jan 11, 2021 6:41 am
by by mona
Great, happy you have a resolution.
:good: for returning with thanks (apreciated) and your solution (useful addition).
please add [SOLVED] to the beginning of the post title to assist others when searching for solutions.