<form method="post" action="{$WEB_ROOT}/cart.php">
    <input type="hidden" name="a" value="empty" />
    <div class="modal modal-danger fade modal-remove-item" id="modalEmptyCart" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button tabindex="0" type="button" class="close" data-dismiss="modal" aria-label="{$LANG.orderForm.close}">
                        <span aria-hidden="true"><i class="lm lm-close"></i></span>
                    </button>
                    <h3 class="modal-title d-flex">
                        <span>{$rslang->trans('order.clear_cart_modal.title')}</span>
                    </h3>
                </div>
                <div class="modal-body">
                    {$rslang->trans('order.clear_cart_modal.desc')}
                </div>
                <div class="modal-footer">
                    <button tabindex="0" type="submit" class="btn btn-danger" data-btn-loader>
                        <span>{$LANG.confirm}</span>
                        <div class="loader loader-button hidden" >
                            {include file="$template/includes/common/loader.tpl" classes="spinner-sm spinner-light"}  
                        </div>
                    </button>
                    <button tabindex="0" type="button" class="btn btn-default" data-dismiss="modal">{$LANG.cancel}</button>
                </div>
            </div>
        </div>
    </div>
</form>