Site Sections: Satchmo Main | Wiki | Demo Store |

Ticket #596: Checkout_Shipping_Country_Error.diff

File Checkout_Shipping_Country_Error.diff, 0.8 kB (added by nosforz, 3 months ago)

Fix to allow 'Billing same as shipping?' checkbox to work on international orders

  • templates/checkout/form.html

    old new  
    182182    {% if form.ship_postal_code.errors %}<tr><td>&nbsp;</td><td>*** {{ form.ship_postal_code.errors|join:", " }}</td></tr>{% endif %} 
    183183     
    184184    {% if not country %} 
    185     <tr class="shiprow"><td><label for="id_ship_country">{% trans "Country" %}</label></td><td> {{ form.ship_country }}</td></tr> 
     185    <tr><td><label for="id_ship_country">{% trans "Country" %}</label></td><td> {{ form.ship_country }}</td></tr> 
    186186    {% if form.ship_country.errors %}<tr><td>&nbsp;</td><td>*** {{ form.ship_country.errors|join:", " }}</td></tr>{% endif %} 
    187187    {% endif %} 
    188188