Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2010
    Posts
    55
    Plugin Contributions
    0

    Default State input box session value

    anyone can help on this below issue?

    I could not get the state input box session value in no_account page to shopping_cart page or checkout_payment page.

    Thanks in advance :)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: State input box session value

    I could not get the state input box session value in no_account page to shopping_cart page or checkout_payment page.
    What?

    More detailed explanation required
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2010
    Posts
    55
    Plugin Contributions
    0

    Default Re: State input box session value

    Im in the process of keep the input value even when press the back button.(used session)
    I could do all the input except the state input box.

    For Example:
    (WORKING)
    <tr>
    <td width="80px"><label class="inputLabel" for="firstname"><?php echo ENTRY_FIRST_NAME; ?></label></td>
    <td width="385px"><?php echo zen_draw_input_field('firstname', $_SESSION['firstname_session'], zen_set_field_length(TABLE_CUSTOMERS, 'customers_firstname', '40') .' id="firstname"');?></td>

    NOT WORKING:

    <?php
    echo zen_draw_input_field('state', $_SESSION['state_session'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"');
    if (zen_not_null(ENTRY_STATE_TEXT)) echo '&nbsp;<span class="alert" id="stText">' . ENTRY_STATE_TEXT . '</span>';
    if ($flag_show_pulldown_states == false)
    {
    //echo zen_draw_hidden_field('zone_id', $zone_name, ' ');
    //echo zen_draw_hidden_field('zone_id', $_SESSION['zone_name_session'],'');
    echo zen_draw_input_field('state', $_SESSION['state_session'], zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"');
    }
    ?>

    <td width="5px"><font color="#FF0000">*</font></td>
    </tr>

  4. #4
    Join Date
    Feb 2010
    Posts
    55
    Plugin Contributions
    0

    Default Session for Country Name

    Hello

    How to get the Country Name using Session?
    I need this to be printed some Credit card page.

    Thanks in advance.

 

 

Similar Threads

  1. v154 State field requires an input when min value is 0
    By tk42one in forum General Questions
    Replies: 3
    Last Post: 27 Apr 2016, 02:26 AM
  2. removing input box for state
    By wygk in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 18 Oct 2009, 01:44 AM
  3. Extra 'input' box needed on product info input page
    By abaris in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Apr 2009, 03:40 PM
  4. State Input Problem on User Registration
    By sumri in forum General Questions
    Replies: 1
    Last Post: 17 Oct 2008, 01:23 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