Product review and Anonymous Users problem (Gold R11)

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Odettes
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 102
Joined: Wed Apr 02, 2008 11:00 am
Location: Stockholm, Sweden
Contact:

Product review and Anonymous Users problem (Gold R11)

Post by Odettes » Fri Oct 16, 2015 6:04 am

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?
Sincerely,
Thomas Berglund

https://traileronline.se
AbleCommerce Gold R11 Custom

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Sun Oct 18, 2015 11:09 pm

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.

Odettes
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 102
Joined: Wed Apr 02, 2008 11:00 am
Location: Stockholm, Sweden
Contact:

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

Post by Odettes » Mon Oct 19, 2015 11:13 pm

Thank you Mazhar, it works great!
Sincerely,
Thomas Berglund

https://traileronline.se
AbleCommerce Gold R11 Custom

Chris Hadden
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Tue Jan 27, 2009 2:29 pm

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

Post by Chris Hadden » Tue Jul 12, 2016 4:41 am

was this issue corrected in

VERSION: 7.0.92.9168
Release Label: GoldR12

Thanks
Chris

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Tue Jul 12, 2016 9:57 pm

Unfortunately it seems it got buried in discussions and we missed it in R12. I am going to open a report now.

Post Reply