1

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.

pemko
  • 69
  • 9

2 Answers2

1

find the bean definition of B2BAcceleratorProductAddToCartComponentRender and override in spring.xml in your addon.

Winston
  • 1,800
  • 2
  • 20
  • 30
1

Addons are a tricky stuff in hybris. I had create also a question about 'how work with addons':

see here

here are some information about the b2bacceleratoraddon itself.

here are some information customizing with addons

Mafick
  • 1,128
  • 1
  • 12
  • 27