Page 1 of 1

Best way to add a new entity

Posted: Sun Aug 24, 2014 9:47 pm
by anikanchan
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.

Re: Best way to add a new entity

Posted: Mon Aug 25, 2014 8:15 am
by phillipuniverse
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?

Re: Best way to add a new entity

Posted: Mon Aug 25, 2014 12:43 pm
by anikanchan
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.

Re: Best way to add a new entity

Posted: Fri Dec 05, 2014 5:21 am
by sabakanwal
When i am going to build the pom.xml under site folder, the build became failure due to the following reason