schafferer/user-address-permission-bundle
Add options to manage user address edit and create permissions.
Requires
- schafferer/wawi-shcware-user-bundle: ~1.1.0
README
With this Bundle you can configure if customer is allowed to edit or create shipping or billing addresses
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require "user-address-permission-bundle": "~6.0"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation. Be sure to adjust the version information "~6.0" to the actual version you need.
Step 2: Enable the Bundle
Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
public function registerBundles()
{
$bundles = array(
// ...
new \Schafferer\UserAddressPermissionBundle\SchaffererUserAddressPermissionBundle()
);
}
Step 3: Snippet Chain
The bundle has its own snippets. To use them add following directory to your theme snippet chain after the shop standard theme in CMS
../../../../vendor/schafferer/user-address-permission-bundle/Resources/views