Best way to add a new entity

Forum for questions and issues related to 3.0 migration.

Those wishing to upgrade should start by looking at the migration documents published on the Broadleaf Commerce documentation site.

Moderator: jocanas

anikanchan
Junior
Junior
Posts: 33
Joined: Wed Aug 08, 2012 12:07 am

Best way to add a new entity

Postby anikanchan » Sun Aug 24, 2014 9:47 pm

I need to add a new entity that will be super class to product/sku. What is the best way to do it? I see two options - one in the framework itself and second in the DemoSite. Please suggest.
- Anikanchan
Advisor
SRInfocom

phillipuniverse
Team Member
Team Member
Posts: 1563
Joined: Tue Dec 20, 2011 12:11 pm

Re: Best way to add a new entity

Postby phillipuniverse » Mon Aug 25, 2014 8:15 am

The idea of Broadleaf is that you do not need to change the Broadleaf framework at all, and should make extensions in your own site (meaning DemoSite).

Having a superclass of Product and Sku seems odd to me. What is the use case that you are trying to support? Why would subclassing not work?

anikanchan
Junior
Junior
Posts: 33
Joined: Wed Aug 08, 2012 12:07 am

Re: Best way to add a new entity

Postby anikanchan » Mon Aug 25, 2014 12:43 pm

It is more like an individual group who owns that product. End of the day I need to figure out which group sold, how much.
- Anikanchan
Advisor
SRInfocom

sabakanwal
Newbie
Newbie
Posts: 1
Joined: Fri Dec 05, 2014 4:54 am

Re: Best way to add a new entity

Postby sabakanwal » Fri Dec 05, 2014 5:21 am

When i am going to build the pom.xml under site folder, the build became failure due to the following reason


Return to “3.0 Upgrade and Migration”

Who is online

Users browsing this forum: No registered users and 1 guest