-
-
Save saidimu/1644263 to your computer and use it in GitHub Desktop.
Hiding billing_shipping_form from seletion.html template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<h1>Shipping and Billing</h1> | |
<form method="POST"> | |
{% csrf_token %} | |
<h3>Your shipping address</h3> | |
{{ shipping_address.as_p }} | |
<h3>Your billing address</h3> | |
{{ billing_address.as_p }} | |
<input type=hidden name="shipping_method" value="skip-shipping" /> | |
<input type=hidden name="payment_method" value="pay-on-delivery" /> | |
<button type="submit">Save</button> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment