broadleaf commerce - TaxCalculation (applicationContext.xml)

I am trying to inlcude tax calculation on the site that I am building and I want to use the out of the box SimpleTaxProvider I am trying to follow this link have to include the bean definition within my Spring application context fileThis may be a noob question but I am confused. Where I am supposed to find this file?*EDIT:I understand that I have to do an annotation based configuration but it is not clear to me howThanks in advance!!...Read more

broadleaf commerce - XSRF token mismatch

Hi I am trying to handle a form submission via a custom controller in the admin sectionThis is my test controller @Controller@RequestMapping("/" + TempController.SECTION_KEY)public class TempController extends AdminAbstractController { protected static final String SECTION_KEY = "test2"; @RequestMapping(value = "", method = RequestMethod.GET) public String test(HttpServletRequest request, HttpServletResponse response, Model model) throws Exception { // This is expected by the modules/emptyContainer template, this is a custom tem...Read more

Broadleaf - running locally - problem getting started the API project

I'm trying to run Heat Clinic 6.0.1 locally following getting started tutorial: managed to run admin and site but not the API project. The application starts without problems but when I go to http://localhost:8082/api/v1/swagger-ui.html I get a 404. In the log I see this exception:javax.servlet.ServletException: Circular view path [error]: would dispatch back to the current handler URL [/error] again. Check your ViewResolver setup! (Hint: This may be the result...Read more

Broadleaf - Heat Clinic Demo - Build Fails

I followed the documentation for starting the Broadleaf Heat Clinic demo, and the build fails due to dependency missing from a Broadleaf server. It appears that it's expecting to find the folder, which does not exist. [ERROR] Failed to execute goal on project boot-community-demo-admin: Could not resolve dependencies for project com.mycompany-community:boot-community-demo-admin:jar:1.0.0-SNAPSHOT: Could not find artifact...Read more

broadleaf commerce - Hide custom admin section from user

I have created my own custom controller and added the section on admin (community version). Is there any way for only specific users to see the section and not all of them? (let's say we want only the administrator to be able to see this section).I know that I have to set the permissions of the section in the DB but it is not clear to me how.The ADMIN_PERMISSION_ID that I inserted when creating the section was "-1"INSERT INTO blc_admin_sec_perm_xref (ADMIN_SECTION_ID, ADMIN_PERMISSION_ID) VALUES (1, -1);...Read more

Write on the page "about us" Broadleaf Commerce

I'm doing a project for the university on e-commerce and I decided to use broadleafcommerce, the thing is that I want to put a Google maps (scripts) in the shop template, I have managed to put them on the main page but what I want to do is put them in the page "about us" but in the project directory (I use intelliJ idea) I can not find the html associated to "about us".My question is, how can I write code on the page "about us" to put the maps there?Best regards...Read more

Broadleaf: extending product entity failed

Hi I Have extended the Broadleaf Product Entity and added a new attribute to that Entity and added the admin presentation annotation to display on the admin sideHere Is My Code to Extend the entity:@AdminPresentationMergeOverrides({@AdminPresentationMergeOverride(name = "ExtendProductImpl.productWarranty", mergeEntries = {@AdminPresentationMergeEntry(propertyType = PropertyType.AdminPresentation.EXCLUDED, booleanOverrideValue=false)})})public class ExtendProductImpl extends ProductImpl implements ExtendProduct {@Column(name ="PRODUCT_WARRANTY")...Read more

Broadleaf 5.1.2 integration with Paypal Express Checkout

I am trying to do a POC on Broadleaf 5.1.2 integration with Paypal Express Checkout. The broadleaf documentation provides easy integration solution with Paypal but only for version 5.0.1 and less. I can't find any relevant documentation/code for blc 5.1.2 either on broadleaf's site, forum or github.I tried to integrate the provided solution (in the given link above) with BLC's heat clinic demo on version 5.1.2 by configuring the same way I configured the demo 5.0.1. ...Read more

Broadleaf : controller calling failed

Hi I Have Created a Custom controller in broadleaf i have called the request mappings in custom controller but this gives an errorHere is my code for Custom Controller:@Controller@RequestMapping("/"+Test12.SECTION_KEY)@Secured("ROLE_ADMIN")public class Test12 extends AdminAbstractController{ protected static final String SECTION_KEY = "test"; public static String nme1="";// @Autowired FilterExtra td; @RequestMapping(value = "", method = RequestMethod.GET) public String test(HttpServletRequest request, HttpServletResponse response, Model mod...Read more

Broadleaf APIs not working

I'm trying to consume Broadleaf APIs to Create Cart, Add Item and Checkout on a consumer application. Cloned Demo application and modified the configuration as per the link: Create new Cart-> POST: http://localhost:8080/api/v1/cartException: HttpRequestMethodNotSupportedException: Request method 'POST' not supportedWith GET request: workedAdd Product ID:POST: http://localhost:8080/api/v1/cart/1?categoryId=1&customerId=100Exception:HttpReques...Read more

Class transformation errors with ProductOptionValueImpl - Broadleaf commerce

I have developed an application using broadleaf commerce. I try to implement dynamic pricing by following the document implemented successfully and can start the application in eclipse. But when i try to start application in command line I got following error java.lang.IllegalStateException: The classes [org.broadleafcommerce.core.catalog.domain.ProductOptionValueImpl] are managed classes within the MergePersistenceUnitManager but w...Read more

broadleaf commerce - failed to START THE API

I failed to START THE API cli after successful site and admin and got error below. Please help to resolve. thanks.DemoSite-broadleaf- by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blURLHandlerFilter': Unsatisfied dependency expressed through field 'urlHandlerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blURLHandlerService': Injection of resource dependencies failed; nested exception is org.springframewo...Read more

broadleaf commerce - unable to see changes in database

I'm using Broadleaf Commerce 2.2 and unable to update my database with new product entry which i did from admin console. I would like to know that why my changes which i made in admin is not reflecting in database?I added couple of new product through admin console in Broadleaf database but when i check this under database table i won't find any product there. Is there any way which i need to consider or setup??? how can i add more product from admin and see those under database?...Read more

Broadleaf Commerce Heat Clinic admin page replace logo

Heat Clinic's admin page displays broadleaf logo which I need to change to some other logo . How can that be done ? I know from the docs that all the html templates are in the WEB-INF/templates folder of the site module of the DemoSite project but after going through all the templates there is no mention of the broadleaf logo .I did find the relative path of the logo image from the source code of the admin page but there is no such path present in my eclipse workspace . It seems the html of the admin page is referencing an external file from th...Read more