Note: Spartacus 4.x is no longer maintained. Please upgrade to the latest version.
Note: Spartacus 4.x was tested with SAP Commerce Cloud versions 1905 to 2205. Spartacus 4.x has not been verified to work with (and is not guaranteed to work with) SAP Commerce Cloud 2211 or later releases.
Table of Contents
- Questions Related to Spartacus as a Product
- What is Spartacus?
- Does Spartacus require SAP Commerce Cloud?
- How does Spartacus integrate with SAP Commerce Cloud?
- Do I need to have a particular version of SAP Commerce Cloud in order to work with Spartacus?
- Does Spartacus integrate with any other SAP products?
- Which browsers does Spartacus support?
- How does Spartacus compare to the SAP Commerce Cloud Accelerators?
- Are there features that are missing in Spartacus that exist in the SAP Commerce Cloud Accelerators?
- Can I run Spartacus and an Accelerator storefront at the same time?
- Does this mean the Accelerators will be deprecated?
- If I’m currently using an SAP Commerce Cloud Accelerator, how do I migrate to a Spartacus-based storefront?
- How long does it take to get a Spartacus-based storefront up and running?
- Is there a demo of a Spartacus-based storefront available?
- What enablement options exist for helping me understand how to use Spartacus? Is training available?
- Can I customize Spartacus?
- What is the release cycle for Spartacus?
- What technologies does Spartacus use?
- Does Spartacus implement Responsive Design?
- Is there going to be a version of Spartacus available to develop native iOS and/or Android apps?
- What about SEO? I heard that single page storefronts result in lower SEO ranking and make it difficult to share pages on social media. Is this an issue with Spartacus?
- Does Spartacus scale? How?
- How do I get support when I run into issues with Spartacus?
- Is it possible to contribute to this open source project? How?
- Will Spartacus work with Intelligent Selling Services for SAP Commerce Cloud?
- Questions Related to Commercialization
Questions Related to Spartacus as a Product
What is Spartacus?
You can view the Spartacus source code in this GitHub repository.
Does Spartacus require SAP Commerce Cloud?
Spartacus is designed to work with SAP Commerce Cloud, although it is possible to use Spartacus with other systems. For more information, see Connecting to Other Systems.
How does Spartacus integrate with SAP Commerce Cloud?
Spartacus is 100% API-driven; in this case, the SAP Commerce Cloud instance is run in a headless fashion. The Spartacus storefront makes the necessary calls to SAP Commerce Cloud via the RESTful APIs that are part of the Omni Commerce Connect extensions. This decoupling allows you to separate front end and back end development, permitting independent update cycles.
Do I need to have a particular version of SAP Commerce Cloud in order to work with Spartacus?
SAP Commerce Cloud 1905 is strongly recommended due to required changes to APIs that are included in that release. Spartacus does partially work with 1811 and 1808 as well as 6.7, but due to API improvements since then, and adoption of new CMS components, some features will not work. For example, SmartEdit and extendable checkout only work in 1905. Spartacus won’t work with anything before 6.7 because Spartacus is CMS-based, and the CMS OCC API was first introduced in 6.7.
Does Spartacus integrate with any other SAP products?
Yes. For more information, see Integrations.
Which browsers does Spartacus support?
Spartacus actively supports evergreen web browsers. Non-evergreen browsers that support the same standards as evergreen browsers will typically work as well. For older browsers that do not support these standards, you can add the necessary support with custom implementations. For more information, see Web Browser Support.
How does Spartacus compare to the SAP Commerce Cloud Accelerators?
Are there features that are missing in Spartacus that exist in the SAP Commerce Cloud Accelerators?
At the 1.0 release, Spartacus will not have feature parity when compared with all the Accelerators available in SAP Commerce Cloud. The focus to begin with is to achieve feature parity with the B2C accelerator. Feature parity with B2B, China and Industry Accelerators will come in the future. Feature parity will be documented.
Can I run Spartacus and an Accelerator storefront at the same time?
Yes. Spartacus-based storefronts are decoupled from SAP Commerce Cloud, so you can run both your Accelerator template-based store and Spartacus storefront. In SAP Commerce Cloud, this would be a matter of configuring your code, aspects, and endpoints correctly. For more information, see External Routes and Backwards Compatibility with Accelerators.
Does this mean the Accelerators will be deprecated?
If I’m currently using an SAP Commerce Cloud Accelerator, how do I migrate to a Spartacus-based storefront?
How long does it take to get a Spartacus-based storefront up and running?
Assuming a vanilla SAP Commerce Cloud B2C back end is up and running and configured to accept OCC API calls, a developer can get create a Spartacus-based storefront within 10 minutes. See Building the Spartacus Storefront From Libraries.
Is there a demo of a Spartacus-based storefront available?
Yes! You can try out our demo here.
What enablement options exist for helping me understand how to use Spartacus? Is training available?
Documentation is available from the Spartacus GitHub Pages documentation site. We are starting a collection of helpful how-to videos. Official training via SAP Education is not planned for launch but may be made available in the future.
Can I customize Spartacus?
Spartacus is a set of libraries that contain core libraries, components and styling. You can choose which versions of the libraries you would like to use in your application, and these can be used to fully configure and customize your storefront. However, customization is not done in the same way as with Accelerator; you never customize Spartacus code directly – rather, you override or replace styling and code. This approach allows ease of upgradability.
What is the release cycle for Spartacus?
Spartacus releases are independent of the release cycle of SAP Commerce Cloud. Generally, new Spartacus libraries will be released every 2 weeks.
What technologies does Spartacus use?
Does Spartacus implement Responsive Design?
Yes. Out-of-the-box, Spartacus supports mobile, tablet, desktop, and wide-desktop breakpoints, and you can configure your own.
Is there going to be a version of Spartacus available to develop native iOS and/or Android apps?
There are no plans for native mobile apps. Spartacus implements Responsive Design (so that the storefront layout looks correct in mobile devices) and is also a Progressive Web App (PWA) (so that the storefront behaves similar to a native app, although this feature is not complete yet). Capabilities are being added that will allow your storefront to act more like a traditional native mobile application, with great performance and reliability, and mobile-native features.
What about SEO? I heard that single page storefronts result in lower SEO ranking and make it difficult to share pages on social media. Is this an issue with Spartacus?
Not an issue. No storefront would work without SEO. Spartacus is indeed a “SPA” (Single-Page Application), which improves performance and flexibility while only loading one page. In order to support SEO, Spartacus also supports Server-Side Rendering (SSR), which builds entire pages on the server side before providing content to the client. SSR provides web crawlers with access to individual pages for search indexing purposes. SSR also allows users to share a link to a page on social media, for example, and Spartacus also allows configuration of social media meta tags. Usage of SSR has the added benefit of greatly speeding up first time-to-view.
Your server must also support SSR functionality. For more information, see Enabling Server-Side Rendering on the SAP Help Portal.
Does Spartacus scale? How?
How do I get support when I run into issues with Spartacus?
You can get support for Spartacus in the following ways:
- Get answers from our developers and the Spartacus community by asking a question on Stack Overflow.
- Problem or bug? If you have a SAP Commerce Cloud license, create a customer support ticket.
- For non-technical questions, you can reach us on our Slack workspace.
Is it possible to contribute to this open source project? How?
Yes. We welcome feedback, ideas, requests, and especially code contributions. If you have something to share, post comments to our feedback channel in the Spartacus Slack space, or read the Contributor’s Guide and learn how to help others, report an issue, or contribute code to Spartacus.
Will Spartacus work with Intelligent Selling Services for SAP Commerce Cloud?
Yes. For more information, see Intelligent Selling Services for SAP Commerce Cloud Integration.
Questions Related to Commercialization
How much will Spartacus cost?
Spartacus is free, whether you are using the libraries or forking the source code (though forking is not recommended for upgradability reasons). Spartacus does come with a license, which is based off the Apache Software License, v2.
Do I need to sign a contract to obtain a license?
No. The license is embedded in the libraries and code you use from the open source project.
Are there any restrictions for using Spartacus? Can I sell a customized version of a Spartacus-based storefront?
See the license. Generally, however, the Apache license is permissive and allows you to sell new works based off of Spartacus. See this article for more background information. (These answers do not constitute official legal advice.)
Join our Spartacus Slack channel and ask a question.