How can I overwrite the B2BAcceleratorProductAddToCartComponentRender from my addon. I need to replace some JSP and the only way I see is to overwrite this class.
Asked
Active
Viewed 191 times
2 Answers
1
find the bean definition of B2BAcceleratorProductAddToCartComponentRender and override in spring.xml in your addon.

Winston
- 1,800
- 2
- 20
- 30
-
thanks when I try it, I have the problem that it doesn't find the parent: addOnJspIncludeCMSComponentRenderer from addonsupport, but I added it to the localextensions and other places – pemko Nov 22 '17 at 09:20
-
Did you use the *web-spring.xml file? – Johannes von Zmuda Nov 22 '17 at 15:54