CoreShop Address Bundle

Address Bundle provides you with Models for Storing Countries, States, Zones and Addresses. As well as Context Resolvers to find the visitors Country.


$ composer require coreshop/address-bundle:^2.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\AddressBundle\CoreShopAddressBundle(),

Updating database schema

Run the following command.

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

Install Pimcore Entities

$ php bin/console coreshop:resources:install

Learn more about overriding Pimcore Classes here)


This Bundle integrates Address Component into Symfony and Doctrine

The Address Bundle provides you with basic information needed for addressing: Countries, States, Zones and Address

The Bundle also introduces an Address Formatter, which formats addresses in country based formats.

Doctrine Entities

  • Country
  • Zone
  • State

Pimcore Entities

  • Address (CoreShopAddress)

Pimcore UI

  • Country
  • State
  • Zone

How to use?'coreshop.address', 'country');'coreshop.address', 'state');'coreshop.address', 'zone');