Skip to Content
author's profile photo Former Member
Former Member

What are the steps to setup b2b2c site from scratch?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 13, 2018 at 02:19 PM
    1. Download SAP Commerce distribution zip and extract it.

    2. Open command prompt and change directory to installer

    3. Execute the command, install.bat -r b2c_b2b_acc

    4. Once the above command is completed successfully, execute install.bat -r b2c_b2b_acc initialize

    5. The command in step#4 may take up to one hour to complete. Once it is finished, change directory in command prompt to hybris\bin\platform and execute the command, hybrisserver.bat

    6. Enter the following entry in hosts file

      127.0.0.1 apparel-uk.local apparel-de.local electronics.local powertools.local

    7. Once the server is started, you can access the following sites: https://electronics.local:9002/yacceleratorstorefront https://powertools.local:9002/yb2bacceleratorstorefront

    You can refer https://help.hybris.com/1811/hcd/8ab64fb886691014b9039f3f1fcb3cab.html and https://help.hybris.com/1811/hcd/8acc8a5a86691014a20781b3f738213e.html for more information.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 13, 2018 at 02:14 PM

    There is a b2c_b2b_acc recipe in the installer folder:

    Recipe for a vanilla B2C Accelerator and a B2B Accelerator running on the same platform. In order to create the B2B Accelerator, b2bacceleratoraddon and commerceorgaddon are installed on a yb2bacceleratorstorefront extension which is generated with extgen using the yacceleratorstorefront template.

    The storefronts also have Assisted Services, Customer Ticketing, Textfield Configurator and Commerce Organzation, Live Edit and Smart Edit addons.

    The promotionengine is installed by default with coupons functionality available.

    Required Configurations: * For features that require a Google API key (such as the Store Locator, which uses Google Maps), you need to set the “googleApiKey”. For information on generating your API Key: https://developers.google.com/maps/documentation/javascript/tutorial#api_key

    You can install it using:

     cd %HYBRIS_HOME_DIR%\installer & install.bat -r b2c_b2b_acc setup & install.bat -r b2c_b2b_acc initialize 
    
    

    ... where HYBRIS_HOME_DIR is the folder where you extracted the Hybris zip file.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.