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

Accelerate the development and deployment of storefronts through the customization of your storefront solution. This section covers common developer tasks around the setup and configuration of SXA Storefront, how to customize renderings, as well as troubleshooting solutions.

Frontend development encompasses the following elements.

![Front end development elements.](https://doc.sitecore.com/api/markdown-image/xp/en/developers/100/sitecore-experience-commerce/images/FrontendDev.png)

Backend development follows [Helix principles](https://helix.sitecore.net/) and encompasses the following elements.

![Backend development elements.](https://doc.sitecore.com/api/markdown-image/xp/en/developers/100/sitecore-experience-commerce/images/BackendDev.png)

The [feature layer](https://doc.sitecore.com/xp/en/developers/100/sitecore-experience-commerce/sxa-storefront-architecture.html "SXA Storefront architecture") of the SXA Storefront solution includes all the renderings required to build out a storefront site. These renderings are built as:

- Scriban-only renderings (for example, the [Order Lines](https://doc.sitecore.com/xp/en/developers/100/sitecore-experience-commerce/customizing-the-order-lines-rendering.html "Customizing the Order Lines rendering") rendering)
- Scriban with Knockout binding (for example, the [Product Bundle](https://doc.sitecore.com/xp/en/developers/100/sitecore-experience-commerce/customizing-the-product-bundle-rendering.html "Customizing the Product Bundle rendering") rendering)
- Razor-only renderings (for example, the [Login](https://doc.sitecore.com/xp/en/users/100/sitecore-experience-commerce/commerce-account-renderings.html) rendering)
- Razor with Knockout binding (for example, the [Product Inventory](https://doc.sitecore.com/xp/en/users/100/sitecore-experience-commerce/commerce-catalog-renderings.html) rendering)

For Scriban-only renderings, the HTML markup is in the Scriban template; however, you still require a Razor view with, at a minimum, code such as what is shown in the following example for the Product Price rendering.

```csharp
<div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? "cxa-productprice-component", Model.Attributes) data-cxa-component-class="ProductPrice" data-cxa-component-initialized="false" data-cxa-component-type="component">
    <div class="component-content">
        @if (Model.Item != null)
        {
            foreach (BaseVariantField variantField in Model.VariantFields)
            {
                @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams, Model)
            }
        }
    </div>
</div>

```

For a general overview of key topics for developers, see [Getting started with Sitecore for developers](https://doc.sitecore.com/xp/en/developers/100/sitecore-experience-commerce/getting-started-with-storefront-for-developers.html "Getting started with Storefront for developers").