Support » Plugin: WP Order Cart » Extra line in orderform

  • Resolved Guido

    (@guido07111975)


    Hi,

    I have added 1 extra address-line in orderform:

    <tr><td>Street and Number: </td><td><input id='txtaddress' maxlength='250' style='width:250px;' value='" . $address . "' /> <span class='requiredfield' >*</span></td></tr>

    <tr><td>Postal and City: </td><td><input id='txtcity' maxlength='250' style='width:250px;' value='" . $city . "' /> <span class='requiredfield' >*</span></td></tr>

    I have added 1 extra line in confirmation message too:

    '$orderemailstr .= "<tr><td style='font-weight:bold; padding:5px;' >Street and Number: </td><td style='padding:5px;' >" .$address . "</td></tr>";

    $orderemailstr .= "<tr><td style='font-weight:bold; padding:5px;' >Postal and City: </td><td style='padding:5px;' >" . $city . "</td></tr>";

    But when I receive confirmation message both are mixed up, example:

    Street and Number: 8877 New York
    Postal and City: Street 51

    Please help..

    http://wordpress.org/extend/plugins/wp-order-cart/

Viewing 1 replies (of 1 total)
  • Guido

    (@guido07111975)

    Again, solved.

    In the same file I added variable address after city, in stead of before city…

    Guido

Viewing 1 replies (of 1 total)
  • The topic ‘Extra line in orderform’ is closed to new replies.