SAP Knowledge Base Article - Preview

2698735 - How to create a B2C and B2B project using recipes and ant modulegen.


Many customers have complained that they are not able to build a Hybris project that has both B2C and B2B storefronts working together when using the b2c_b2b_acc or similar B2C and B2B recipes. That's because by default, the recipe creates a simple b2b storefront extension as an example under the hybris/bin/custom directory based on the yacceleratorstorefront template extension. And the B2C part is running directly off the templates in hybris/bin/ext-template. Therefore, if you want to have a true B2C module for a project, you must run ant modulegen. However, the presence of the B2B extension in the hybris/bin/custom directory causes ant modulegen to return an error.



Hybris Commerce Suite V6.X.X and above.


SAP Commerce 1811 ; SAP Hybris Commerce 1808 ; SAP Hybris Commerce 6.0 ; SAP Hybris Commerce 6.1 ; SAP Hybris Commerce 6.2 ; SAP Hybris Commerce 6.3 ; SAP Hybris Commerce 6.4 ; SAP Hybris Commerce 6.5 ; SAP Hybris Commerce 6.6 ; SAP Hybris Commerce 6.7


B2C and B2B b2c_b2b_acc Modulegen Storefront CTTD , KBA , CEC-COM-CPS , SAP Commerce , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.