Questions Related to Spartacus as a Product
What is SAP Commerce Cloud (Project Spartacus)? (referred to as just “Spartacus”)
Does Spartacus require SAP Commerce Cloud?
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 (link). 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?
Spartacus libraries will be integrated with SAP Cloud Platform Extension Factory and SAP Commerce Cloud Context Driven Services (Q4 2019 expectation), among other products. These differences will be described in the Spartacus documentation and/or by their respective product documentation.
Which browsers does Spartacus support?
On the desktop, Spartacus supports Chrome with automated tests, and in general, Spartacus supports evergreen browsers. By default, Spartacus does not support IE11 because IE11 is missing certain modern browser features, such as support for CSS variables.
Spartacus supports browsers on mobile and tablet platforms as follows:
- On iOS-based devices, Spartacus is tested with Safari and Chrome. Although other browsers are not tested, Spartacus should work with any iOS browser, because all iOS browsers use the Webkit-based iOS browser engine.
- On Android-based devices, Spartacus is tested with Chrome, which is based on Chromium and the Blink layout engine. Any Android browser that uses the same engine will likely work with Spartacus. Other browsers using different browser engines are not tested, but those browsers that use Webkit should work as well.
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 start 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 configured correctly. See the product documentation here and here for more.
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 backend 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?
Try out our continuous-integration server 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 overwride 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 with SEO. Spartacus is indeed a “SPA” (Single-Page Application), which benefits 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 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 things like social media, 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. Support for SSR will be added to SAP Commerce Cloud hosting services Q3 2019.
Does Spartacus scale? How?
How do I get support when I run into issues with Spartacus?
Spartacus is provided “as-is” with no official lines of support. To get help from the Spartacus community, you can get in touch with us on Stack Overflow. 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 chat in the Slack channel, or read the Contributing document and learn how to help others, report an issue, or contribute code to Spartacus.
Is Spartacus the same as SAP Cloud Platform Extension Factory (Kyma)?
No they are different. SAP Cloud Platform Extension Factory is the key extensibility layer for the SAP C/4HANA suite. It leverages the concepts and innovations from [project “Kyma” Field] to use scalable microservices. Spartacus storefronts can easily access these API-based services so that you can quickly add new functionality to your storefront.
Will Spartacus work with SAP Commerce Cloud, Context Driven Services?
Yes. Support for contextual journey tracking will be added to Spartacus, scheduled for Q3 2019.
Questions Related to Commercialization
How much will Spartacus cost?
Spartacus is free to use as libraries and to fork the source code (though forking is not recommended for upgradability reasons). It does come with a license, which is based off the Apache Software License, v2 – see the license file.
Do I need to sign a contract to obtain a license?
No. The license (link) 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 (link). 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 legal official advice.)
Join our Spartacus Slack channel and ask a question.