CoreShop Index Bundle


$ composer require coreshop/index-bundle:^3.0

Adding required bundles to kernel

You need to enable the bundle inside the kernel


// app/AppKernel.php

public function registerBundlesToCollection(BundleCollection $collection)
        new \CoreShop\Bundle\IndexBundle\CoreShopIndexBundle(),

Updating database schema

Run the following command.

$ php bin/console doctrine:schema:update --force


This Bundle integrates Index Component into Symfony and Doctrine

The Index Bundle provides you with basic information needed for a Indexing Pimcore Models: Index, Filters and Conditions

It also provides you with ListingServices and FilterServices

Get Listing from Index

How to get a Listing from an Index?

$filter = $this->get('coreshop.repository.filter')->find(1); //Get Filter by ID 1
$filteredList = $this->get('coreshop.factory.filter.list')->createList($filter, $request->request);
$this->get('coreshop.filter.processor')->processConditions($filter, $filteredList, $request->query);

Pimcore UI

  • Index Configuration
  • Filter Configuration

How to use?'coreshop.index', 'index');'coreshop.index', 'filter');