Page 1 of 1

Product review and Anonymous Users problem (Gold R11)

Posted: Fri Oct 16, 2015 6:04 am
by Odettes
Hi!

I have enabled Product reviews for "All Users" and choose to no require approval or email verification when submitting a review.
Problem is if a user write a review and use the same email-address previously used when ordering something this shows up when trying to submit:
Your email address is already registered. You must log in to post the review.
They don't have any password to login with and I don't want them to have it either, all my customers buys without creating an account.

What to do?

Re: Product review and Anonymous Users problem (Gold R11)

Posted: Sun Oct 18, 2015 11:09 pm
by mazhar
Edit Website/ConLib/ProductReviewForm.ascx.cs file and locate following code

Code: Select all

//MAKE SURE ANONYMOUS USER DOES NOT TRY TO USE REGISTERED USER EMAIL
if (user.IsAnonymous)
and update it like this.

Code: Select all

//MAKE SURE ANONYMOUS USER DOES NOT TRY TO USE REGISTERED USER EMAIL
if (user.IsAnonymous && AbleContext.Current.Store.Settings.ProductReviewEnabled == UserAuthFilter.Registered)
Save the file and repeat the test using same Email address.

Re: Product review and Anonymous Users problem (Gold R11)

Posted: Mon Oct 19, 2015 11:13 pm
by Odettes
Thank you Mazhar, it works great!

Re: Product review and Anonymous Users problem (Gold R11)

Posted: Tue Jul 12, 2016 4:41 am
by Chris Hadden
was this issue corrected in

VERSION: 7.0.92.9168
Release Label: GoldR12

Thanks
Chris

Re: Product review and Anonymous Users problem (Gold R11)

Posted: Tue Jul 12, 2016 9:57 pm
by mazhar
Unfortunately it seems it got buried in discussions and we missed it in R12. I am going to open a report now.