---
title: "SXA Storefront rendering communication"
slug: "sxa-storefront-rendering-communication"
abstract: ""
---
# SXA Storefront rendering communication

Commerce renderings make calls to the Commerce Foundation layer, which includes the following base functionalities:

- The `BaseProductRepository` repository - includes methods for calling the Commerce Engine to retrieve price and stock information.
- The `ProductEntity` class - represents a product.
- The `ProductSummaryViewModel` model - contains all relevant product information (price and stock information and variants). It is used with various SXA renderings on the Product Detail page and Category pages.
- The `ProductEntityHelper` - populates and returns a ProductEntity or a list of ProductEntities.
- The `OrderBasedRecommendedProductsProvider` provider - acts as the default provider for retrieving the list of product IDs to use in product recommendations.
- The `<commerce.getRecommendedProducts>` pipeline - includes three processors for handling [product recommendations](https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-commerce/customizing-the-algorithm-for-recommended-products.html "Customizing the algorithm for recommended products"): FromOrder, FromQuery, and FromLastOrder.

[How renderings communicate](https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-commerce/rendering-communication.html "Rendering communication") depends on how the rendering has been implemented.