Jenn asked for more buttons. so I made more buttons.

modified:   make_post_sell/templates/cart_checkout.j2
	modified:   make_post_sell/templates/user_addresses.j2
This commit is contained in:
Russell Ballestrini 2024-12-13 19:14:42 -05:00
parent 59da0d34f4
commit c9aa05574e
2 changed files with 19 additions and 2 deletions

View file

@ -16,7 +16,12 @@
{% if request.shop and request.shop.is_ready %}
<a href="/billing" class="product-edit-button mps-button">Use a different card</a>
{% endif %}
{% if request.user.active_address %}
<h2>Active Shipping Address</h2>
<pre>{{- request.user.active_address.data -}}</pre>
<a href="/u/addresses" class="product-edit-button mps-button">Use a different address</a>
{% endif %}
</section>

View file

@ -8,7 +8,7 @@
<section class="two-column">
<section class="well">
<h3>Active Address</h3>
<h3>Active Shipping Address</h3>
<pre>{{- request.user.active_address.data -}}</pre>
@ -54,5 +54,17 @@ Country"
</section>
</section>
<br/>
<br/>
<center>
<a href="/cart" class="product-new-button mps-button">Review Order</a>
&nbsp;
&nbsp;
&nbsp;
<a href="/cart/checkout" class="cart-checkout-button mps-button">Checkout</a>
</center>
{%- endblock -%}