<div id="_desktop_cart">
    <div class="badshopping-cart-block">
        <div class="blockcart cart-preview inactive badshopping-cart-inner">
            <div class="badshopping-cart-content-box">
                <div class="badshopping-cart-content" id="cartviewid">
                    <div class="badshopping-cart-btn-wrapper">
                        <a href="javascript:void(0)" title="Items">
                            <i class="lnr lnr-cart"></i>
                            <div class="badshopping_cart-title">
                                <span class="badshopping-cart-count">{{ text_badtotal }}</span>
                                <span class="badshopping-cart-name">Cart</span>
                            </div>
                        </a>
                    </div>
                    <div class="badshopping-cart-product-wrapper badul">
                        {% if products or vouchers %}
                        <div class="badshopping-cart-product-inner">
                            <div class="badshopping-cart-product-contet-box">
                                <div class="badshopping-cart-product-contet badli">
                                    {% for product in products %}
                                    <div class="badshopping-cart-products">
                                        <div class="badshopping-cart-product-item">
                                            <div class="badshopping-cart-product-item-img">
                                                {% if product.thumb %}
                                                <a href="{{ product.href }}">
                                                    <img class="lazynot" src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}"></a>
                                                {% endif %}
                                            </div>
                                            <div class="badshopping-cart-product-info">
                                                {% if product.option %}
                                                {% for option in product.option %} <br />
                                                - <small>{{ option.name }} {{ option.value }}</small> {% endfor %}
                                                {% endif %}
                                                {% if product.recurring %} <br />
                                                - <small>{{ text_recurring }} {{ product.recurring }}</small> {% endif %}
                                                <div class="badproduct-name">
                                                    <a href="{{ product.href }}">{{ product.name }}</a>
                                                </div>
                                                <div class="badshopping-cart-product-info-inner">
                                                    <span class="badshopping-cart-product-quentity">{{ product.quantity }}</span>
                                                    <span class="badshopping-cart-product-separater">X</span>
                                                    <span class="badshopping-cart-product-price">{{ product.total }}</span>
                                                </div>
                                                <div class="badshopping-cart-product-remove">
                                                    <a class="remove-from-cart npasdremove-from-cart" onclick="cart.remove('{{ product.cart_id }}');" href="javascript:void(0)" title="{{ product.name }}"><i class="fa fa-trash"></i></a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    {% endfor %}
                                    {% for voucher in vouchers %}
                                    <div class="badshopping-cart-products">
                                        <div class="text-center"></div>
                                        <div class="text-left">{{ voucher.description }}</div>
                                        <div class="text-right">x&nbsp;1</div>
                                        <div class="text-right">{{ voucher.amount }}</div>
                                        <div class="text-center text-danger"><button type="button" onclick="voucher.remove('{{ voucher.key }}');" title="{{ button_remove }}" class="btn btn-danger btn-xs"><i class="fa fa-times"></i></button></div>
                                    </div>
                                    {% endfor %}
                                </div>
                                <div class="badshopping-cart-payment-wrapper badli">
                                    <div class="badshopping-cart-payment-content">
                                        {% for total in totals %}
                                        <div class="badshopping-cart-total-products-wrapper">
                                            <span class="badshopping-cart-total-products-title">
                                                {{ total.title }}
                                            </span>
                                            <span class="badshopping-cart-total-products-amout">
                                                {{ total.text }}
                                            </span>
                                        </div>
                                        {% endfor %}
                                    </div>
                                    <div class="badshopping-cart-process-checkbout-btn">
                                        <a href="{{ checkout }}" title="{{ text_checkout }}">{{ text_checkout }}
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        {% else %}
                        <div class="badshopping-cart-noproduct-label badli">
                            <div>{{ text_empty }}</div>
                        </div>
                        {% endif %}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
        {#
        <div id="cart" class="btn-group btn-block">
            <button type="button" data-toggle="dropdown" data-loading-text="{{ text_loading }}" class="btn btn-inverse btn-block btn-lg dropdown-toggle"><i class="fa fa-shopping-cart"></i> <span id="cart-total">{{ text_items }}</span></button>
            <ul class="dropdown-menu pull-right">
                {% if products or vouchers %}
                <li>
                    <table class="table table-striped">
                        {% for product in products %}
                        <tr>
                            <td class="text-center">{% if product.thumb %} <a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-thumbnail" /></a> {% endif %}</td>
                            <td class="text-left"><a href="{{ product.href }}">{{ product.name }}</a> {% if product.option %}
                                {% for option in product.option %} <br />
                                - <small>{{ option.name }} {{ option.value }}</small> {% endfor %}
                                {% endif %}
                                {% if product.recurring %} <br />
                                - <small>{{ text_recurring }} {{ product.recurring }}</small> {% endif %}</td>
                            <td class="text-right">x {{ product.quantity }}</td>
                            <td class="text-right">{{ product.total }}</td>
                            <td class="text-center"><button type="button" onclick="cart.remove('{{ product.cart_id }}');" title="{{ button_remove }}" class="btn btn-danger btn-xs"><i class="fa fa-times"></i></button></td>
                        </tr>
                        {% endfor %}
                        {% for voucher in vouchers %}
                        <tr>
                            <td class="text-center"></td>
                            <td class="text-left">{{ voucher.description }}</td>
                            <td class="text-right">x&nbsp;1</td>
                            <td class="text-right">{{ voucher.amount }}</td>
                            <td class="text-center text-danger"><button type="button" onclick="voucher.remove('{{ voucher.key }}');" title="{{ button_remove }}" class="btn btn-danger btn-xs"><i class="fa fa-times"></i></button></td>
                        </tr>
                        {% endfor %}
                    </table>
                </li>
                <li>
                    <div>
                        <table class="table table-bordered">
                            {% for total in totals %}
                            <tr>
                                <td class="text-right"><strong>{{ total.title }}</strong></td>
                                <td class="text-right">{{ total.text }}</td>
                            </tr>
                            {% endfor %}
                        </table>
                        <p class="text-right"><a href="{{ cart }}"><strong><i class="fa fa-shopping-cart"></i> {{ text_cart }}</strong></a>&nbsp;&nbsp;&nbsp;<a href="{{ checkout }}"><strong><i class="fa fa-share"></i> {{ text_checkout }}</strong></a></p>
                    </div>
                </li>
                {% else %}
                <li>
                    <p class="text-center">{{ text_empty }}</p>
                </li>
                {% endif %}
            </ul>
        </div>
        #}