Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default New Field in Order Confirmation

    I did find another thread on this and tried the steps recommended but I cannot get it to work.

    I have a field in the database called "dropdown"

    In the /includes/classes.order.php I have added:

    'dropdown' => $order->fields['dropdown'],

    in the $this->info array

    and then I added this in the order totals area (I want the field to be right below the order total)

    if ($this->info['dropdown'])
    $email_order .= $this->info['dropdown'] . "\n\n";

    I have the text pulled in that I want to go before this database field.....but just cannot pull this field....

    Can anyone advise what I am doing wrong?!?!?!?

    Thank you!!!!!
    Jill || I Love Zen Cart Templates || 2 Dogs Design
    I Love To Help But Let's Keep It Public Please To Help Others!

  2. #2
    Join Date
    Jan 2010
    Location
    Australia
    Posts
    239
    Plugin Contributions
    1

    Default Re: New Field in Order Confirmation

    what is the name of table, which has dropdown? if its order table

    than you need to modify the $order_query first

    you need to add dropdown in select command
    Believe it or not But My existence is illusional

 

 

Similar Threads

  1. Adding custom field to Order Confirmation Email
    By forced in forum Managing Customers and Orders
    Replies: 11
    Last Post: 25 Jul 2012, 02:28 PM
  2. Customize Order Confirmation Email - Add Field
    By Toot4fun in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Mar 2010, 08:00 PM
  3. Adding a Field to the Order Confirmation
    By Will.hollaway in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jul 2008, 11:27 PM
  4. How to override header_php.php or how to add a new field to order confirmation email
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jan 2008, 06:01 PM
  5. Help regarding how to add telephone field to order confirmation
    By signus in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Sep 2007, 07:47 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