cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is the best approach to setup a B2B site in hybris ?

0 Likes
2,953

Hi Team,

I would like to know what is the best approach to set up B2B store in Hybris 1808.

  1. Install B2c recipes and use modulegen with accelerator and install all required b2b addons in the storefront. (OR)

  2. Install B2B recipes and use modulegen with b2baccelerator . Then it will create only 2 extension (cockpit and fulfillment process) Then create related extension i.e. Storefront,facade,core using extgen and add required extension and install the b2b addon on storefront created by extegen.

If any other approach is there , it would be appreciated.

Thanks, Upfront!

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor

All you need is to follow the instructions at https://help.hybris.com/1808/hcd/8acc8a5a86691014a20781b3f738213e.html

Notes:
a. Since Hybris 6.0, there is no yb2bacceleratorstorefront anymore, we have to use yacceleratorstorefront instead of yb2bacceleratorstorefront like the commands like given below

 ant addoninstall -Daddonnames="b2bacceleratoraddon" -DaddonStorefront.yacceleratorstorefront="trainingstorefront"
 ant addoninstall -Daddonnames="commerceorgaddon" -DaddonStorefront.yacceleratorstorefront="trainingstorefront"

b. If you look into build.gradle file for a b2b recipe, you will find that the recipe generates yb2bacceleratorstorefront using the yacceleratorstorefront the way you would do to generate any custom extension.

And if you check the rest of the recipe, not a single pl.project.addons block uses the yb2bacceleratorstorefront as the template, only yacceleratorstorefront is used.

0 Likes

Thanks, Aravind for answering this, But I am curious about to know more like

As per this article, it suggests b2c_accrecipes recipes with modulegen i.e

-->ant modulegen -Dinput.module=accelerator I know this .

Then in Hybris also have b2b_acc recipes and also we have -->ant modulegen -Dinput.module=b2baccelerator it looks specific to B2B .

Then my question why we are using b2c_acc recipes with the accelerator for B2B site setup.

Thanks Upfront.

arvind-kumar_avinash
Active Contributor
0 Likes

Hi - Please check the Notes which I just added to my answer.

Former Member
0 Likes

Yes I too agree with , if we need to generate all other types of accelerator using the b2c_acc recipe then whats the use of other recipe ? Why the modulegen used with other accelerator types not generating all required mandatory 7 extensions which are been generated using the b2caccelerator?

Answers (1)

Answers (1)

VinayKumarS
Active Contributor
0 Likes

if you are using 1811. Then follow below url. Because some of the old cockpits are deprecated.

https://help.hybris.com/1811/hcd/8acc8a5a86691014a20781b3f738213e.html

0 Likes

Thanks, vinayKumar. please have look for an updated comment.