Initial Configuration
NOTE: The Merchandising Group module is dependent on the Advanced CMS module. Please follow the Advanced CMS module installation instructions before proceeding.
At the time of writing, these instructions were based on a version of the Heat Clinic sample project targeting Broadleaf version 5.0.0-GA and Advanced CMS module version 2.0.0-GA.
Configuration Changes
Add the following to the dependency management section of your parent
pom.xml
:<dependency> <groupId>com.broadleafcommerce</groupId> <artifactId>broadleaf-merchandising-group</artifactId> <version>1.0.0-GA</version> <type>jar</type> <scope>compile</scope> </dependency>
Note: You must have previously configured your pom to reference the Broadleaf private repositories. This information will be provided as part of your license agreement.
Pull this dependency into your
core/pom.xml
:<dependency> <groupId>com.broadleafcommerce</groupId> <artifactId>broadleaf-merchandising-group</artifactId> </dependency>
When starting your application server, you need to ensure support for load time weaving. Please see the Load Time Weaving instructions for more details.
Data Changes
Schema Changes
If you are allowing hibernate to create and modify your tables, this will be done automatically when you restart with the new configuration settings.
Otherwise, you will need to generate the SQL to customize your Broadleaf implementation. See the Broadleaf Schema Upgrade Documentation for details.
Admin Security Changes
To maintain merchandising groups in the Broadleaf admin, you will need to load new permissions. The recommended changes are located in the following file:
/config/bc/sql/load_merchandising_group_admin_security.sql
Note: In development, you can automatically load this SQL by adding this file to the
blPU.hibernate.hbm2ddl.import_files
property in thedevelopment-shared.properties
file.