You have learned how to customize the facade layer in SAP Commerce Cloud.
Before moving onto the exercise, you should also know that SAP Commerce Cloud includes an out-of-the-box extension named commercefacades that provides facade-related commerce functionality.
It’s always good practice to check what is provided in that extension, so you can take advantage of it when customizing your own facade layer.
Generally, facades in the commercefacades extension integrate one or more SAP Commerce Cloud Service Layer method calls. These integrated calls, when combined, accomplish various business actions as requested by a storefront user. These business actions include viewing product details, adding a product to the shopping cart, adding a delivery address during checkout, posting a product review, conducting free text product searches, and more.
Below, you can find several essential components primarily made up of different facades.
Name | Description |
---|---|
Search Facade | Offers free text search and faceted navigation capabilities for products. |
Product Facade | Delivers comprehensive product information. |
Order Facade | Provides a complete shopping capability. |
User Facade | Manages user account operations. |
Store Session Facade | Allows user access to various internationalization switches that can be made when visiting a specific storefront. |
Store Locator Facade | Exposes a search capability for Point Of Sale and can expose specific store information and content. |