WordPress.org

Ready to get started?Download WordPress

Forums

WP Order Cart
[resolved] Extra line in orderform (2 posts)

  1. Guido
    Member
    Posted 1 year ago #

    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/

  2. Guido
    Member
    Posted 1 year ago #

    Again, solved.

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

    Guido

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.