sapproductconfigb2baddon AddOn

The sapproductconfigb2baddon extension is an AddOn to be embedded into yacceleratorstorefront. It provides actions for SAP Variant Configuration and Pricing that are specific to a B2B scenario.

AddOn Definition

Name sapproductconfigb2baddon
Description

Provides B2B-specific enhancements for as described in SAP Variant Configuration and Pricing to the SAP Commerce Cloud Accelerator storefront.

Requires
  • sapproductconfigb2bservices
  • sapproductconfigb2b
  • addonsupport
  • b2bacceleratoraddon
Author SAP

How to Install

  1. Install ysapproductconfigaddonysapproductconfigaddon AddOn.
  2. Ensure that the localextensions.xml as file contains the following extensions:
    • b2bacceleratoraddon

    • commerceorgaddon

  3. In the command line dialog box, enter the addoninstall command for sapproductconfigb2baddon. For example:
    ant addoninstall -Daddonnames="sapproductconfigb2baddon,commerceorgaddon,b2bacceleratoraddon" -DaddonStorefront.yacceleratorstorefront="B2BStorefront1”

    Where the example contains the name B2BStorefront1, use the name of the storefront to which you want to add the extension.

  4. Execute ant clean all updatesystem to generate essential data for the extension.

CMS Components

The sapproductconfigb2baddon addOn provides a new CMS component for the re-order button. It is located in folder sapproductconfigb2baddon/acceleratoraddon/web/webroot/WEB-INF/views/responsive/cms.

The CMS action CPQReorderAction replaces the ReorderAction. The corresponding component provides a different URL for the re-order functionality, which ensures that the CPQReorderController is called instead of the ReorderCheckoutController.

Page Controllers

The de.hybris.platform.sap.productconfig.b2bfrontend.controllers package includes the controllers for product configuration, which provide B2B-specific functionality. CPQReorderController provides specifics for SAP Variant Configuration and Pricing regarding the re-order functionality. In contrast to the SAP Commerce Cloud re-order controller ReorderCheckoutController, this controller implements a special handling for configurable products for cases where the configuration engine no longer knows the knowledge base version of the configuration attached to the order item being re-ordered.