cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize the B2B Storefront using an AddOn

Former Member
0 Kudos

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...

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member623616
Contributor
0 Kudos

Hi Alex,

You should install your custom Addon on your custom storefront, not on b2bacceleratoraddon.

Thanks, Yaten

Answers (0)