Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product Review - Deleating Name

Product Review - Deleating Name

Locked

Views: 1,185

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Feb 2008, 2:45 AM
#1
lead_not_follow avatar

lead_not_follow

New Zenner

Join Date:
Jan 2008
Posts:
23
Plugin Contributions:
0

Product Review - Deleating Name

Is their a way to not have the customer's full name show in the product review section. I've actually been asked by a customer to edit their review so it does not show their full name.

I'd like either something like " by John D." or "by John in Boston, MA"

I've searched and have only found info on how to not show their name at all, I'd still like to have their name, just not show it all.

Thanks in advance!

4 Feb 2008, 4:40 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product Review - Deleating Name

In includes/modues/pages/product_reviews_info/header_php.php there is:

$review_info_query = "SELECT rd.reviews_text, r.reviews_rating, r.reviews_id, r.customers_name,

I think this is stored as fname and lname

Then there is the corresponding tpl file for reviews

4 Feb 2008, 7:17 PM
#3
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Product Review - Deleating Name

We are also interested in this feature. How would we edit this?

4 Feb 2008, 7:25 PM
#4
lead_not_follow avatar

lead_not_follow

New Zenner

Join Date:
Jan 2008
Posts:
23
Plugin Contributions:
0

Re: Product Review - Deleating Name

Well I had a look through the php tonight and found that if you go to includes/modules/pages/product_reviews_write/header_php.php on around line 42 deleted customers_lastname, see below.

$customer_query = "SELECT customers_firstname, customers_lastname, customers_email_address

Now it just shows the customers first name on the reviews. I did have to go in and edit all the older reviews prior, as it will only update new one's; not the old ones.

4 Feb 2008, 7:43 PM
#5
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Product Review - Deleating Name

Thanks, so much. Works fine.