mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-08 22:36:06 -06:00
This commit is contained in:
parent
40f5741fde
commit
65f06d8b95
@ -119,7 +119,8 @@
|
|||||||
|
|
||||||
|
|
||||||
{% if entries('advs').isEnabled('carts') %}
|
{% if entries('advs').isEnabled('carts') %}
|
||||||
{% set cart_items = entries('carts').get()[0].getCart() %}
|
{% set cart_items = entries('carts').getCart() %}
|
||||||
|
{% set cart = entries('carts').get()[0] %}
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
<a data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||||
<i class="fa fa-shopping-cart"></i> {{ cart_items.quantity }}<span
|
<i class="fa fa-shopping-cart"></i> {{ cart_items.quantity }}<span
|
||||||
@ -147,7 +148,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
<li class="cart-footer">
|
<li class="cart-footer">
|
||||||
<span class="lighter-text">{{ trans('visiosoft.module.advs::field.total') }}:</span>
|
<span class="lighter-text">{{ trans('visiosoft.module.advs::field.total') }}:</span>
|
||||||
<span class="total-color-text">{% if cart_items is null %}0{% else %}{{ cart_items.subtotal }}{% endif %}</span>
|
<span class="total-color-text">{% if cart_items is null %}0{% else %}{{ cart.subtotal.currency }}{% endif %}</span>
|
||||||
</li>
|
</li>
|
||||||
<!--items cart-->
|
<!--items cart-->
|
||||||
<li><span><a class="text-center cart-view-button"
|
<li><span><a class="text-center cart-view-button"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user