I was going through the code of "com.mycompany.controoler.cart.CartController.java" and inside "addJson" method I can see if condition is written 2 times. Cannot make out why same code is written twice. Can somebody throw some light on it?
The class can be seen at https://github.com/BroadleafCommerce/DemoSite/blob/master/site/src/main/java/com/mycompany/controller/cart/CartController.java
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.