public function getStoreCategoriesAjax()
    {
        if (!$this->access('category')) {
            return array('error' => $this->text('No access'));
        }

        $options = array(
            'store_id' => $this->getPosted('store_id', $this->store->getDefault())
        );

        return $this->getCategoryOptionsByStore($this->category, $this->category_group, $options);
    }