Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to add extra fields in the Write A Review form?

How to add extra fields in the Write A Review form?

Locked

Views: 1,369

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Dec 2008, 11:07 PM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

How to add extra fields in the Write A Review form?

Hi

As we know in zencart there is only one text input area in the Write A Review form for comments.

I was wondering if there is a way of adding extra form fields in the write a review form page. I have seen it here http://www.rei.com/WriteReview and its just fantastic. You may have to register to see the form but its worth it.

Header of the review form section (gifts/Pros/Best Uses/Describe Yourself and Bottom Line) has drop downs with pre written options to select like. Naturally field names and the options can be anything.

Basically I am trying to make review process as as less painless as possible.

Final review would have similar format as below

Gift:No
Pros:Good Geometry, Comfortable, Lightweight
Best Uses:Casual Riding, Spirited Riding
Describe Yourself:Avid Cyclist
Bottom Line:Yes, I would recommend this to a friend

Comments: blah blah blah....this is the text input area like we have in zen-cart now.


Can you please suggest a mod or at least how to add extra form fields would be a great help. I am sure we would all love this.

2 Dec 2008, 4:00 AM
#2
kobra avatar

kobra

Black Belt

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

Re: How to add extra fields in the Write A Review form?

ZenCart is Open Source and can be extended to the extent of your capabilities...

5 Dec 2008, 1:26 AM
#3
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add extra fields in the Write A Review form?

Thank you for your input kobra .

I was asking for a suggestion as to how it could be done and if anyone might have a solution.

5 Dec 2008, 2:30 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: How to add extra fields in the Write A Review form?

oavs:

Thank you for your input kobra .

I was asking for a suggestion as to how it could be done and if anyone might have a solution.

I dont think anyone did it. It's entirely up to you. As for the approach, not much can be helped, you just have to study the code and make the changes you want.

5 Dec 2008, 3:17 AM
#5
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add extra fields in the Write A Review form?

Most people who come here are novices like me who have no idea how to make it from the start. However I am good at changing and adopting the code to my needs, once I I have a code as a stating point. Now I know now that best of your knowledge no body has attempted , I shall wait until some has. In the mean time I will have a go at it my self. I'll scream if and when it breaks :-)

Thanks

5 Dec 2008, 5:08 PM
#6
kobra avatar

kobra

Black Belt

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

Re: How to add extra fields in the Write A Review form?

oavs,
One can review the write a review files as a starting point.
What you referenced will also need some js for the dropdowns and some DB table work to be able to have a place to store these additional bits of data in a structure.
A bit involved but not impossible - - just overly complicated to square in a few posts in this forum.