Skip to Content
0
Former Member
Jan 27, 2016 at 01:13 AM

How to customize the B2B Storefront using an AddOn

222 Views

Hi,

I've installed hybris 5.7 with the 'b2b_acc_plus' recipe and now would like to make customisations to the sample B2B Powertools Shop. For this I've created an AddOn according to the documentation: https://wiki.hybris.com/pages/viewpage.action?spaceKey=accdoc50to56&title=Customizing+the+Storefront+using+an+AddOn

I've used the following commands:

Create AddOn: ant -Dinput.template=yaddon -Dinput.name=mystorefront -Dinput.package=com.mydomain.mystorefront

Install AddOn: ant addoninstall -Daddonnames="mystorefront" -DaddonStorefront.yb2bacceleratorstorefront="b2bacceleratoraddon"

It all builds fine and the AddOn, as well as the configurations in the extensioninfo.xml/project.properties are made, but after having copied over some UI files (e.g the CSS file) and making changes, these changes are not reflected in the Powertools shopfront.

What am I doing wrong? Should I not be installing the AddOn to the b2bacceleratoraddon? What are best practices to customise the B2B shopfront?

This is my first AddOn, so any kind of help is greatly appreciated.

Thanks, Alex