Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Plugin Contributions
    0

    Default Add more fields to checkout? PLEASE HELP

    Hello,

    My customer does not display pricing nor need to do any calculation on the site. They do all payment processing offline. I just need the cart to collect the product and customer info and send the order.

    Basically the cart works like this: I want to order this, ship it here, this is my name and address and customer number.

    I am using the Purchaser Order module. That works great...

    I do however, need to add 2 additional fields to my checkout and I just CANNOT find one succinct answer.

    I tried the "How Did You Hear About Us" module/extension but it is not sending the results to the table... it seems to only be for the login page and I need it for the checkout page.

    Specifically, I want to add additional fields to the tpl_checkout_shipping_default.php page.

    I am in no way an expert on php, I can modify carts, move things around, but I just cannot seem to manage this.

    Can someone please point me to the right answer, or help me!

    I just want to add the question:

    DO YOU WANT TO INSURE SHIPMENT: •YES OR •NO
    and use radio buttons so either one has to be selected and send the result to the orders table

    and add AN ADDITIONAL COMMENT BOX
    that's it... that's all I want to add, and have the information go into the "ORDERS" table also.

    I am using the Customer Comment box already. I need another one.

    How can I easily do this??
    thank you for any help.

    Presently using: v1.3.9h

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

    Default Re: Add more fields to checkout? PLEASE HELP


  3. #3
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default Re: Add more fields to checkout? PLEASE HELP

    There's more involved in adding a new control (checkbox, etxtbox, dropdown etc) than just sticking it in the code.

    A variable has to be defined, value assigned after the customer picks. If the transaction is completed value inserted into the database (in a new field in an existing orders table or a new table) and associated with that order_id.

    Then that value has to be retrieved from the database whenever the customer looks at their order in their account, or you do anything in the admin having to do with that order. Invoice, edit order, update status. It can't just be an option during checkout and then vanish into the ether. So at the least you need another variable and value being passed and more controls to display it on all the possible pages where it could be recalled and edited.

    Properly written modules do all that. Since this is just a yes/no, can't you ask customers to put it in the comments box? We do that for clothing sizes. "Please enter the size and color desired in the comments area during checkout". 99.9% of the people put it in.

 

 

Similar Threads

  1. v151 Add more info to Registration or Order Page (more fields)
    By imfsub12 in forum General Questions
    Replies: 1
    Last Post: 16 Jul 2013, 01:52 PM
  2. v150 How do I add more fields to registration and checkout screens?
    By z3n-beta in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Apr 2012, 07:16 PM
  3. Add additional fields at checkout page, NEED URGENT HELP. Thank you
    By tom2u in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 8 Aug 2007, 02:21 PM
  4. Help. How can I add more products in main page? Please see picture
    By helloUK in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 Aug 2007, 02:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR