Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2008
    Posts
    22
    Plugin Contributions
    0

    Default Adding more fields to the customer reviews form

    Ok, so I've been trying to figure this out and I'm lost and frustrated. I also want to say I have no knowledge of PHP, which is my problem. I want to add a couple of fields to the customer reviews form (one being a drop down field with options). I know how to do this in HTML, but not so sure with PHP.

    I understand I'll need to edit:
    tpl_product_reviews_write_default.php
    header_php.php
    jscript_main.php

    I'll also need to add some new fields in the database to hold the data.

    However, after staring at the code for hours, trying to find examples and even trying to learn a little PHP syntax, I still feel like I'm getting nowhere. I searched google for "creating a form with php" and it seems like I could figure it out, but the Zen-Cart coding is much more complicated than the simple examples I'm given.

    Has anyone done this or have an example? I feel like I just need one example of adding a new field (I guess to any form in Zen) so I at least have a jumping off point...

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Adding more fields to the customer reviews form


 

 

Similar Threads

  1. Adding form fields to the product page
    By Gossy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Jun 2010, 04:11 PM
  2. Adding fields to the user registration form
    By res in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Aug 2008, 01:53 PM
  3. Adding 2 fields to the Sign up form
    By workaholic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jul 2008, 04:28 PM
  4. customer Registration form adding gender fields
    By choirgirlcrashing in forum General Questions
    Replies: 2
    Last Post: 22 Jun 2007, 04:10 PM
  5. adding extra fields to the customer reg form
    By troo in forum Managing Customers and Orders
    Replies: 16
    Last Post: 23 May 2007, 01:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg