Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2006
    Posts
    11
    Plugin Contributions
    0

    Default Need for multiple text boxes

    My customer needs multiple text boxes at checkout. There is already one on the checkout_shipment page and one on the checkout_payment page. We need to add a box to checkout_payment and make all the text to be uniquely identified. So, instead of $comments, we need $commentsA, $commentsB & $commentsC. I've been able to display the boxes that we need and have expanded the db to contain three separate comment fields. I've modified the /pages/checkout_xxxx files within our own template and the tpl_checkout_xxx files to include these new fields. I've also modified /classes/order.php to allow for these new fields. Somewhere, I'm missing a piece of the puzzle. The comments are not showing up at checkout-confirmation nor are they showing in the db yet there are no php errors produced. Can anyone help me with the program flow and where the problem might lie?

    Files that I've modified: /ourtemplate/templates/tpl_checkout_comfirmation_default.php
    /ourtemplate/templates/tpl_checkout_payment_default.php
    /ourtemplate/templates/tpl_checkout_shipping_default.php
    /classes/order.php
    /ourtemplate/pages/account_history_info/header_php.php
    /ourtemplate/pages/checkout_shipping/header_php.php
    /ourtemplate/pages/checkout_payment/header_php.php
    /ourtemplate/pages/checkout_process/header_php.php
    /ourtemplate/pages/checkout_confirmation/header_php.php
    and possibly /payment/authorizenet_aim.php

    For additional details, urls, etc., contact me privately.

    Thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Need for multiple text boxes

    Run through the Tools ... Developers Tool Kit ... and in the bottom input box enter:
    comments

    and do a search on the Catalog to ensure you did not miss a spot ...

    NOTE: there are a few places where comments may not be applicable but you should find them all this way ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Date text boxes not showing on multiple admin pages
    By PentaxBoise in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 20 Apr 2010, 02:04 AM
  2. Help need to make multiple category boxes
    By YairOz in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 May 2009, 10:01 PM
  3. Replies: 7
    Last Post: 10 May 2009, 02:45 PM
  4. Replies: 2
    Last Post: 6 Aug 2008, 06:38 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