fix cart page when physical items.
This commit is contained in:
parent
0ead63ac58
commit
55dadce4fe
1 changed files with 9 additions and 4 deletions
|
|
@ -140,21 +140,26 @@
|
|||
{% endif %}
|
||||
{% if request.shop_location.local_delivery %}
|
||||
<input type="radio" id="local_delivery" name="handling_option" value="local_delivery" {% if cart.handling_option == "local_delivery" %}checked{% endif %} required>
|
||||
<label for="local_delivery" style="display: inline;">Local Delivery (${{ '{:,.2f}'.format(request.shop_location.local_delivery_rate) }})</label><br>
|
||||
<label for="local_delivery" style="display: inline;">
|
||||
Local Delivery (${{ '{:,.2f}'.format(request.shop_location.local_delivery_rate or 0) }})
|
||||
</label><br>
|
||||
{% endif %}
|
||||
{% if request.shop_location.local_shipping %}
|
||||
<input type="radio" id="local_shipping" name="handling_option" value="local_shipping" {% if cart.handling_option == "local_shipping" %}checked{% endif %} required>
|
||||
<label for="local_shipping" style="display: inline;">Local Shipping (${{ '{:,.2f}'.format(request.shop_location.local_shipping_rate) }})</label><br>
|
||||
<label for="local_shipping" style="display: inline;">
|
||||
Local Shipping (${{ '{:,.2f}'.format(request.shop_location.local_shipping_rate or 0) }})
|
||||
</label><br>
|
||||
{% endif %}
|
||||
{% if request.shop_location.international_shipping %}
|
||||
<input type="radio" id="international_shipping" name="handling_option" value="international_shipping" {% if cart.handling_option == "international_shipping" %}checked{% endif %} required>
|
||||
<label for="international_shipping" style="display: inline;">International Shipping (${{ '{:,.2f}'.format(request.shop_location.international_shipping_rate) }})</label><br>
|
||||
<label for="international_shipping" style="display: inline;">
|
||||
International Shipping (${{ '{:,.2f}'.format(request.shop_location.international_shipping_rate or 0) }})
|
||||
</label><br>
|
||||
{% endif %}
|
||||
<input type="submit" value="Set Handling Option">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div style="text-align: right; grid-column: span 3">
|
||||
|
||||
{% if cart.is_discounted %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue