You are on page 1of 99

Spartacus Webinar #7

December 2020 Update


Bill Marcotte, SAP

PUBLIC
Disclaimer

This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms directio ns and
functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this
presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentation is provided
without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantab ility, fitness for a
particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP
assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross
negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from
expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates,
and they should not be relied upon in making purchasing decisions.

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


About Bill Marcotte

Senior Product Manager

Responsible for Spartacus and Accelerator Storefronts

At SAP since 2013

Email: bill.marcotte@sap.com
or send me a message on our Spartacus slack

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Last Spartacus Webinar:
October 2020
Find the recording at enable.cx microlearning.opensap
https://microlearning.opensap.com/tag/tagid/spartacus (“spartacus” tag)

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Contents

▪ Brief Introduction to Spartacus


▪ Spartacus Resources Overview
▪ Support and Life Cycle << new
▪ What’s New Since Last Webinar
▪ Coming Soon / Roadmap
▪ 3.0 Feature Details
▪ Information on Upcoming Features
▪ Release History

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Brief introduction to Spartacus
Spartacus allows you to quickly create a
storefront for SAP Commerce that is
FAST AND ENGAGING

A storefront that helps increase


CONVERSION AND REVENUE
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
What is Spartacus?

Spartacus is…
▪ A JavaScript storefront for SAP Commerce Cloud
▪ Built with Angular
▪ Decoupled, depends on SAP Commerce Cloud via OCC
▪ CMS-based
▪ Upgradable
▪ Extensible
▪ Brandable, with a modern style system

Open source
▪ Free to use!
▪ Free to fork source code, but don’t! ☺
Spartacus is upgradable due to use of Angular libraries

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Important: “Decoupled, depends on APIs”
Requires SAP Commerce Cloud

APIs

Spartacus Storefront SAP Commerce Cloud

Frontend: Decoupled
All JavaScript, Commerce:
Runs in browser Runs on servers

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Spartacus requires headless
SAP Commerce Cloud

What Headless (usually) means


▪ Backend server system(s) that are the source Spartacus Storefront
of truth for data
– Pricing Spartacus is one (important) front-end for your
– Product information headless commerce system
– Checking out
Reasons to go headless:
▪ Through decoupled, API calls
▪ Flexibility - be where the customer is
▪ But NOT RESPONSIBLE for front-end ▪ What if your customers are using Instagram
– Or Facebook
▫ Or Twitter
− Or Tik Tok
▪ Or what if you want to quickly make an in-store display
▪ Or…

Headless commerce gives you that flexibility


▪ All front-ends leads to your headless commerce system
SAP Commerce Cloud
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10
Going Decoupled/Headless: Opening up Customer Touchpoints

Search Influencer
Engines Channels

Social
Media

Micro
Traditional Browser- Shops
Based Storefronts

Dedicated
SAP Commerce Cloud Apps
Decoupled
In-Store
Kiosks

?
Marketplaces Smart
Flexibility to add new
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
Assistants touchpoints in the future 11
Spartacus Goals

▪ Simplify and speed up storefront development


▪ Deliver a snappy, engaging browsing experience
▪ Like Accelerator, helps you to quickly get going with a storefront for
SAP Commerce Cloud…
▪ … unlike Accelerator, is upgradable – gain new features quickly as
the features are released

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Spartacus Benefits

▪ Help increase conversion and revenue


– Anecdotal evidence at pwastats.com
▪ If your site is delightful and snappy:
– Customers start shopping while logged in more often
– Customers hang around your site longer
– Conversion rates go up
– Like a clean store with stocked shelves, customers build a good
impression of your brand and your ability to help them with what
they need
▪ Focus your development team on frontend
▪ Faster release cycles decoupled from platform
= faster, more frequent site refreshes with less risk

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13


What about Accelerator?

Spartacus replaces Accelerator


▪ All new investment is in Spartacus
▪ All new SAP Commerce Cloud capabilities will be added to
Spartacus

When Spartacus has parity with Accelerator, Accelerator will be


deprecated and removed
▪ Deprecation date not official yet
▪ Removal would be 2 years after deprecation
▪ Support would end 2 years after that

Customers that want to continue using Accelerator can do so


by porting their JSP-based storefront forward themselves

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 14


Spartacus Resources
GitHub Repo

https://github.com/SAP/spartacus

You can fork the code from here


▪ but don’t! Use libraries instead

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 16


Spartacus Documentation

https://sap.github.io/spartacus-docs

Your source for:


▪ Release and roadmap information
▪ Getting started
▪ Links to videos
▪ Developer reference
▪ Older release documentation

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 17


News about Spartacus

General information, release announcements, dates for


upcoming Sparta-Town meetings
▪ Spartacus Slack Workspace
– https://join.slack.com/t/spartacus-storefront/shared_invite/
enQtNDM1OTI3OTMwNjU5LTg1NGVjZmFkZjQzODc1MzFhMjc3OTZmMzIzYzg0YjMwODJi
Y2YxYjA5MTE5NjVmN2E5NjMxNjEzMGNlMDRjMjU
▪ The link is also in the documentation

Receive announcements through Twitter:


▪ https://twitter.com/SpartacusSF

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 18


Spartacus Training

OpenSAP courses (https://open.sap.com/courses?q=Spartacus)


▪ Available now:
– Intro to Spartacus
– Routing
▪ Coming 2021
– CMS and Spartacus

Developer training courses


▪ Available Q1 2021
– Spartacus Developer Training
https://training.sap.com/course/c4h370-spartacus-ilt-developer-training-classroom-004-g-en

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 19


Support and Release Life Cycle
Official Support for Spartacus

Official support coming Q1 2021!

How to get support in the meantime


▪ Spartacus devs stand ready to help 18/5:
▪ Preferred contact method:
– Stack Overflow, tag spartacus-storefront
https://stackoverflow.com/questions/tagged/spartacus-storefront
▪ If you don’t get a response, contact Bill through Spartacus Slack

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 21


Spartacus and SAP Commerce Cloud Backend
Compatibility

Latest Spartacus release always supports latest supported


backend releases starting from 1905
▪ Example:
– Spartacus 3.0 to be released December 2020
– Spartacus 3.0 supports 2011, 2005, 1905

Previous Spartacus releases tested against backend releases


available at the time, but not tested against newer releases
▪ Example:
– Spartacus 2.1 (released August 2020) tested against 2005 and
1905
▫ And 99.9% sure 2011, as OCC APIs are backwards compatible
▪ Fixes for previous Spartacus releases against older backend
releases subject to support policy

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 22


Spartacus and Semantic Versioning

3.4.5
MAJOR MINOR PATCH

Patch Release Minor Release Major Release


▪ Example: 3.4.5 to 3.4.6 ▪ Example: 3.1.x to 3.2.0 ▪ Example: 3.x.x to 4.0.0
▪ Bug fixes only ▪ New features and bug fixes ▪ New features and bug fixes
– Also: usually move to new Angular
▪ Backwards compatible ✅ ▪ Backwards compatible ✅ framework major e.g. 10>11
▪ Should not cause problems to update ▪ Feature flag used if anything ▪ NOT backwards compatible ❌
breaking is introduced
▪ To help migration:
▪ Should not cause problems to – Schematics added
update, unless you turn on a feature – Breaking changes documented
flag
▪ Feature flag not used
▪ Deprecated code removed

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 23


Spartacus Libraries Patch Policy
Summary

1. Bug fixes for latest major.minor release supported


− Weekly patch fixes published
2. Bug fixes for previous latest major.minor conditionally supported
on a case-by-case basis
− Such as a critical security issue
• If feasible
• If the fix does not break backwards compatibility
• If the fix does not require update of Angular
− The fix will be published as a new patch release as needed
3. Older releases not supported – update your libraries
− Though we will help with questions on previous releases
− Bug fixes fixes will be subject to the policy described above
− We will always ask you to update your libraries

“Roll forward” strongly recommended


▪ Update libraries as a regular task in your dev process

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 24


Spartacus Libraries Patch Policy
Example 1

If:
▪ 3.5.1 is latest release
▪ 3.4.5 is previous minor for current major
▪ 2.1.4 is latest minor from previous major
▪ ... and a (backwards compatible) bug fix is ready

Then:
▪ The bug fix will be published to 3.5.2
– (The bug fix will not be added to 3.4.5)
▪ The bug fix may be published to previous major as 2.1.5
– if the problem is serious enough
– if backwards compatible
– if feasible

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 25


Spartacus Libraries Patch Policy
Example 2

If:
▪ 3.5.2 is latest release
▪ 3.4.5 is previous minor for current major
▪ 2.1.5 is latest minor from previous major
▪ … and
– a (backwards compatible) new feature is ready
– a (backwards compatible) bug fix is ready

Then
▪ New feature and bug fix are published in 3.6.0
▪ Bug fix is published to 3.5.3
– 3.5.3 is EOL – no longer supported
– New bug fixes will be published to 3.6.x only
– Customers strongly urged to move to 3.6.0

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 26


Spartacus Libraries Patch Policy
Status now and after 3.0 is released

Current support as of Dec 10, 2020 (3.0 still RC)


Type of Release Version Patch Support Dev Assistance
Latest major 2.1.4 Full Full
Previous major 1.5.9 Critical, feasible fixes only Full
Older majors None None Limited - basic help only
Release Candidates 3.0 None Limited – related to new
release only

Support after 3.0 is released


Type of Release Version Patch Support Dev Assistance
Latest major will be 3.0.0 Full Full
Previous major will be 2.1.4 (or .5) Critical, feasible fixes only Full
Older majors will be 1.5.9 None Limited - basic help only
Release Candidates 3.1 None Limited – related to new
eventually release only
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 27
Spartacus Libraries Patch Policy

“Roll forward” strongly recommended


▪ Update libraries as a regular task in your dev process

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 28


What’s New Since Last Webinar
More Pre-Release 3.0 Libraries Published

3.0-next.4 – 3.0-rc.3 Coming Very Soon


▪ Powertools Storefront Support ▪ Directionality CSS completion ▪ Final release!
▪ B2B Checkout ▪ Angular 10
– with B2B-related order details ▪ Session Management
updates through the storefront
▪ Commerce Org
– with support units, users, budgets,
cost centers, spend limits, and
approvals
– Lazy loading of the module for
better storefront performance
▪ B2B Scheduled Replenishment

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 30


Coming Soon / Roadmap
Spartacus Roadmap Q4 2020 – Q2 2021

Continued focus on parity and architecture

Special focus on B2B

B2C & B2B


Architectural Accessibility
Accelerator
Excellence Support
Feature Parity

SAP Product Industry PWA and Mobile


Integrations Accelerators Experience

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 32


Spartacus roadmap Q4-2020 to Q2-2021

Q4 2020 Q1 2021 (3.x releases) Q2 2021 and Later (3.x and 4.x releases)
B2B 3.0: • B2B Registration • B2B Saved Carts • B2B Inventory Display • B2B Future Stock 2
• B2B Powertools Store • B2B Bulk Pricing • B2B Reorder • B2B Quick Order • B2B Commerce Quotes 2
• B2B Checkout • B2B Multi- • B2B Import Products • B2B Multi-D Order Grid • B2B Order Form Builder
• B2B Scheduled Replenishment Dimensional Products • B2B Export Cart
• B2B Commerce Org

B2C/Core 3.0: • Image Zoom • ASM Customer Lists


• Directionality (RTL) CSS Support • Configurable Bundles 1 • ASM Search Autocomplete
• Pick up in Store • ASM Anonymous Cart Binding
• Potential Promotions Display • Cart Validation 2
• Home page for My Account • Back to Top

Architecture 3.0: • Dynamic Theme Selection • Lazy loading / code splitting to • Angular Framework Update
• Angular 10 • B2C/B2B in one app existing modules (performance • Fine-Grained Extensibility
• Session Management • Lazy loading / code splitting to existing improvement) • Site Map
• Lazy Loading for Commerce modules (performance improvement) • Tag Management Service • Global Messages Improvements
Organization (provides • New events for Events Service • Google Tag Manager support and Extensibility
performance improvements) • New events for Events Service

Integrations 3.1: • SAP Digital Payments • Accessibility Screen Reader Support


• Variant Configuration of Complex • SAP Entitlement Management
Products Phase 1

3.x
• Customer Data Cloud (Gigya)
Authentication/Consent Support

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC


All Spartacus B2B features require SAP Commerce Cloud 2005, some features require later releases. Please check the release no tes. 33
1 Requires OCC APIs planned for 2011 release • 2 Requires OCC APIs planned for 2105 release • 3 Requires OCC APIs in future release, not yet planned
Release 3.0 Feature Details
Demonstrations of all
features have been demo’d
in previous webinars
Look for new videos on
all features early 2021
(especially B2B Commerce Org)
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 35
B2B Powertools Store
B2B Powertools Store

Spartacus support for


Powertools sample store

New Spartacus configuration


“B2bStorefrontModule”

A few OCC calls are different

Backend must be 2005 or later

Designed with OCC property


“overlapping paths” set to true
▪ Allows B2B and B2C OCC APIs
to work on same backend at
same time

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 37
B2B Checkout
B2B Checkout
Overview

Similar to B2C Checkout,


with these differences:
▪ Can set a purchase order #
▪ Can choose to pay by
Account or Credit Card
– Steps change dynamically
depending on payment
method chosen
– Payment types are
defined in backend

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 39
B2B Checkout
Overview

If paying by Account –
Cost Center & Shipping Address
▪ Can select cost center
▪ Shipping addresses available to the
buyer depend on the selected cost
center
– Can’t add/edit shipping addresses
– Shipping addresses derive from unit
the cost center is assigned to
▪ Delivery mode same as B2C
▪ No payment details step
– Invoice to be sent later to company

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 40
B2B Checkout
Overview

If paying by Account –
Review & Submit
▪ Streamlined summary
accommodates different
payment types
▪ Buyer can go back and
change anything

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 41
B2B Checkout
Overview

If paying by Credit Card –


Same steps as B2C
▪ Shipping address
– Can add/edit shipping addresses
– Not associated with units
▪ Delivery mode
▪ Payment details
▪ Review

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 42
B2B Checkout
Overview

If paying by Credit Card –


Review & Submit
▪ Uses redesigned summary
▪ Now displays billing address

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 43
B2B Checkout
How does B2B checkout relate to B2B Commerce Org?

Cost centers and units More Commerce Org info in following slides…
▪ Cost centers are assigned to units
nit
▪ Setting cost center allows for later spend reporting A unit is any company, subdivision, region,
group, or one part of physical store
Account Manager defined on
seller side, can t modif
y

▪ The budget assigned to the cost center sets upper limit Shipping
sers can be organi ed into
Addresses
of all purchases against that budget uring B2B Checkout,
sers groups to assign permission
to many users at once

– Same budget can be assigned to multiple cost centers


buyer chooses a cost
center he unit the cost Cost Centers Admins ser roups
center is assigned to
determines the possible
Approvers
shipping addresses
Budgets
Managers

Cost centers and shipping addresses Child Child Child


Customers (Buyers) Permissions
(Purchase hresholds)
nit nit nit
▪ Shipping addresses are assigned to units
nits assigned approves
Buyers can also be assigned
their dedicated approver
Child nits

▪ Cost centers are assigned to units


▪ Selecting cost center defines where a purchase can be
shipped, depending on what was selected

Purchase order number


▪ Saved with the order, for tracking and payment purposes
▪ Not set with Commerce Org
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 44
B2B Scheduled Replenishment
B2B Scheduled Replenishment When placing an order, allow customer to
create a repeating scheduled order
Overview (instead of placing the order immediately)

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 46
B2B Scheduled Replenishment
Frequency options
Every # days Every # weeks Every month, on a day

Requires SAP Commerce Cloud 2005


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 47
B2B Commerce Organization

Also known as “My Company”


Overview of Commerce Organization (“My Company”)

For the customer: Self-service spend management Organized with:


▪ Units: Companies, regions, stores, etc.
For the vendor: Customer-specific pricing and support ▪ Users: Buyers, approvers, administrators, etc.
▪ Cost centers, budgets, purchase limits

Order
automatically
approved
Buyer is assigned Order created Order processed Spending tracked
spending permissions Cost Center and controlled
and PO# through buyer name,
unit, cost center, budget
Spending permissions
defined through self-service
Order held,
by buying company admin
assigned to
designated approver

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 49


© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 50
B2B Commerce Organization
also known as My Company
Available in
pre-release
3.0-next.2
Customers can:
▪ Organize buyers
▪ Track spend
▪ Limit purchases
▪ Require approvals

Sellers can:
▪ Assign specific pricing to units
▪ Assign specific people to units
– For support requests
– For quote requests
▫ Spartacus support for quotes
coming 2021

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 51


B2B Commerce Organization for Spartacus
Self-service management for customer organizations

Primarily aimed at letting companies


give their employees controlled
permission to make purchases
▪ Self-serve
▪ Examples
– Company allows employees to
spend $100/month on office
technologies
– Hospitals provide budget for staff to
order their own uniforms

Requires SAP Commerce Cloud 2005

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 52


B2B Commerce Organization for Spartacus
Self-service management for customer organizations

All the functionality needed to let your


customer manage spending in their
organization
▪ Units (for regions, divisions)
▪ Users and roles
▪ Shipping addresses
▪ Cost centers and budgets
▪ Purchase limits
▪ Approval process

Requires SAP Commerce Cloud 2005

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 53


B2B Commerce Organization for Spartacus
Self-service management for customer organizations

Approvers view and approve/reject order requests through


Spartacus storefront
▪ Approval workflows controlled by SAP Commerce Cloud
▪ Purchases can be auto-approved or require approval

Requires SAP Commerce Cloud 2005


All B2B features require SAP Commerce 2005 unless otherwise noted

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 54


B2B Commerce Organization for Spartacus
Self-service management for customer organizations

Approval demo

Requires SAP Commerce Cloud 2005


All B2B features require SAP Commerce 2005 unless otherwise noted

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 55


Angular 10
Angular 10.1

▪ Changes Angular framework used by Spartacus to Angular 10.1


▪ Changes TypeScript to version 3.9
▪ Other related library dependencies also updated
▪ Schematics also updated
▪ Always benefits, there are
– See https://medium.com/better-programming/angular-10-new-features-dbc779061dc8
– and https://www.infoworld.com/article/3537449/whats-new-in-angular-10.html

Angular 10
available since
pre-release
3.0-next.1!

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 57


Session Management
Identity Provider Support
with Improved Session Management

Improvements to sessions management:


▪ Help separate OCC API integration from core Spartacus code
▪ Allowing use of adapters and connectors
▪ Making it easier to add your own Identity Provider

New session management will:


▪ Improve security
▪ Reduce friction in the authentication and login user experience

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 59


Information on Upcoming Features
B2B Registration
B2B Registration

Allows potential customers to request access to


restricted B2B site

What’s different from B2C/Core:


▪ Requests information such as company, address,
phone, and position
▪ Customers are not granted login permission
automatically (ootb SAP Commerce Cloud behavior)
– Seller representative approves and assigns the
customer to a unit

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 62


B2B Bulk Pricing Display
B2B Bulk Pricing Display

▪ Displays bulk pricing table on


Product Details page
▪ isplays “Volume Pricing Available”
in search results, for products that
have bulk pricing defined

▪ Actual pricing for volume purchases


currently already supported in cart
and checkout
▪ Bulk pricing is defined in SAP
Commerce Cloud backend

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 64


B2B Multi-Dimensional Products

Standard Support
B2B Multi-Dimensional Products

Standard support for multi-dimensional products


throughout B2B Spartacus
▪ Search results: one example of multi-dimensional product
▪ Product Details page: one multi-dimensional product; variants
available through menus, color boxes, and other methods
▪ Cart: Multi-dimensional product displayed as individual item (not
grouped)
– Change quantity and remove multi-dimensional products from
cart
▪ Order details: As individual multi-dimensional products
▪ UX for multi-dimensional products is same as variants support
(as seen with Apparel store)

Order grid for multi-dimensional products and grouping to come in Q2-Q3 2021

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 66


Variant Configuration for Spartacus

Formerly known as “CPQ”


(which is now associated with Callidus)
Variant Configuration for Spartacus

Enables single- and multi-level configurable products


▪ Configuration page with the most commonly used characteristic
types such as radio buttons, checkboxes, and images for
characteristic values
▪ Price summary at the bottom of the configuration page with the base
price, the price of the selected options, and the overall total price of
the configured product
▪ Overview page with all user selections accessible at any time during
configuration

Scheduled for Spartacus 3.1


▪ Soon after 3.0

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 68


Dynamic Theme and Config Selection
Dynamic Theme Selection

Allows Spartacus to
change style/theme
based on base site

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 70


Dynamic B2B/B2C Configuration Selection

Allows one instance of


Spartacus to work with
both B2C and B2B
base sites
In 3.0, a separate Spartacus app
with B2B-specific configuration is
required for B2B sites

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 71


New Events for the Event Service
New Events for the Event Service

Events Service added in 2.0 release


EVENT
▪ Allows visitor site personalization and
enhancement of the relevance of the displayed
product mix, by listening to customer journey

Events to be added:
▪ Search suggestion event
▪ Facet change event
▪ Logout event
▪ Login event

More to come in future releases

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 73


Lazy Loading of Existing Modules

Boosts Performance
Lazy Loading of Existing Modules

Lazy Loading boosts performance


▪ The concept: Only load code as needed

Lazy Loading framework was added in 2.0


▪ Support for CMS component lazy loading added then
▪ B2B My Company (for 3.0) built lazy-loaded from start

Existing modules will be split to allow lazy loading


▪ Examples:
– ASM module not needed unless customer rep is using the storefront and
adds ?asm=true to URL
– Store Locator not needed until customer clicks the Store Locator button
▪ Less code to load = boost in performance, less hits to server
▪ Changes to be rolled out over multiple releases

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 75


Customer Data Cloud (CDC)

Formerly known as “ igya”


Customer Data Cloud (CDC)
Formerly known as Gigya

Identify and engage customers Build trusted based on Deliver trusted digital
across channels and devices transparency and user’s own experiences based on first-
through single-sign on control of data party knowledge
▪ Registration-as-a-service ▪ Self-service preference and consent ▪ Customer data store
▪ SSO, social (35+ providers), Management ▪ Profile orchestration and governance
federated authentication, and more ▪ Terms of Service and opt-in ▪ Customer insights
▪ Conditional workflows management

https://www.sap.com/products/crm/customer-data-management.html

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 77


Customer Data Cloud (CDC)
Integration with Spartacus

▪ Localized forms
▪ Social registration and login
▪ Optional risk-based
authentication rules possible
▪ Profile synchronization
between CDC and
Commerce Cloud
▪ Consent management

Final Spartacus library


release planned for Nov
▪ May or may not be exactly
with 3.0 release
▪ Pre-release out now

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 78


B2B Saved Carts
B2B Saved Carts

Ability to save a cart for later use


▪ You continue with an empty cart
▪ Can name and give a description to saved cart

Display list of saved carts


▪ Add individual products to cart
▪ Swap entire saved cart with current active cart

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 80


B2B Re-Order
B2B Re-Order

Ability to start a new cart based on a existing order


▪ Existing cart is saved or merged, depending on user selection

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 82


Tag Management Service
Tag Management Service

A generic framework in Spartacus for tagging and collecting


Spartacus site pages, components, and code data
▪ For use in marketing and tracking
▪ Tag Manager tools such as Google Tag Manager can hook into the
framework and grab data needed for further processing

Benefits:
▪ Improves behavior analysis and personalization opportunities
through the ability to tag Spartacus pages, components, and code
▪ Provides easier integration for seller site development by enabling
Spartacus to integrate with the tag managers they are using

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 84


Angular Framework Update
Angular Framework Update

Summary
▪ Spartacus usually moves to next Angular major twice a year
▪ Coincides with new Spartacus major due to breaking changes
▪ Minor or patch updates to Angular are included as part of Spartacus
minor or patch releases

Plans for 2021


▪ Move to Angular 11 with Spartacus 4.0 (Q1-Q2 2021)
▪ Move to Angular 12 with Spartacus 5.0 (Q3-Q4 2021)

Plans can change depending on the importance of what is being introduced


into Angular framework

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 86


Angular Framework Update

Changes to Angular usually include:


▪ Coding and performance improvements
▪ Update of TypeScript

Other changes we make at the same time:


▪ Other related library dependencies updated
▪ Schematics updated
▪ Deprecated code removed

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 87


Fine-Grained Extensibility
Fine-Grained Extensibility

Allows control and extensibility of templates in a more natural


way, in fewer steps

Benefits
▪ Faster, less complex development
▪ Reduce pain points for extending complex components like product
list or cart item component
▪ Improves time to market by allowing developers to modify only part
of a component or page instead of replacing entire components
▪ Reduces time and complexity to upgrade Spartacus libraries,
especially new major releases

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 89


Spartacus Release History
https://sap.github.io/spartacus-docs/release-information
Summary of Releases 3.0

Release 3.0
December ??, 2020 (scheduled for week of Dec14)
▪ Powertools Storefront Support
▪ B2B Checkout
– with B2B-related order details updates through the
storefront
▪ B2B Commerce Org
– with support units, users, budgets, cost centers, spend
limits, and approvals
– Lazy loading of the module for better storefront
performance
▪ B2B Scheduled Replenishment
▪ Directionality CSS completion
▪ Angular 10
▪ Session Management

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 91


Summary of Releases 2.0-2.1

Release 2.0 Release 2.1


June 3, 2020 August 27, 2020
▪ Directionality (core support)
▪ Angular 9
▪ Style Library Versioning
▪ Lazy Loading (core support)
▪ Event Service
– Add to cart event
▪ Accessibility Keyboarding
▪ State Persistence service
▪ Custom Angular URL matching
▪ Extensibility improvements
▪ Deprecated code removed

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 92


Summary of Releases 1.4-1.5

Release 1.4 Release 1.5


January 27, 2020 February 26, 2020
▪ Variants and Apparel Store
▪ Wish List
▪ Context-Driven Services support
▪ Back-in-Stock Notification
▪ Customer Coupons
▪ Cancellations and returns
▪ Selective Cart (aka Save for Later)
– requires SAP Commerce 2005 release
▪ Skip Links (Accessibility feature)
▪ Token Revocation
▪ Applied Promotions improvements
▪ Performance improvements
– Product loading scopes
– Deferred Loading
– Above-the-Fold Loading
– CMS component data loading optimization
▪ Stacked Outlets
▪ Updates to cart handling

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 93


Summary of Releases 1.1-1.3

Release 1.1 Release 1.2 Release 1.3


August 29, 2019 September 30, 2019 November 18, 2019
▪ Feature Flags ▪ Routing Migration ▪ Context Auto-Detection
▪ Configurable OCC Endpoints ▪ Angular Update to 8.2.5 – For language, currency, and other
(+ associated dependencies) settings
▪ Beta of Schematics library
▪ Guest Checkout ▪ Qualtrics Integration
▪ Change to registration flow (must
provide login information after ▪ Express Checkout ▪ Schematics library official
registration) ▪ Storefinder ▪ ASM Customer Emulation
▪ Consignment Tracking – With customer search and session
timer
▪ Infinite Scroll
▪ Anonymous Consent
▪ Early Login
▪ Coupons

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 94


Spartacus Release History
https://sap.github.io/cloud-commerce-spartacus-storefront-docs/release-information

Spartacus 1.0 Launch (July 4, 2019)


Architecture and Development Features Customer-Facing Features
▪ Open source ▪ Multi-site and site context ▪ Home
▪ Upgradable ▪ SmartEdit and ▪ Authentication
▪ Extendable Personalization support ▪ Search
▪ Configurable ▪ Configurable routing ▪ Categories
▪ Styling variables ▪ SEO Attributes ▪ Product Details
▪ Scalable ▪ SSR Support ▪ Cart & Checkout
▪ PWA ▪ Localization ▪ Order Details
▪ CMS driven ▪ SAP CP Extension ▪ Account mgmt.
Factory support ▪ Add to Home
▪ Responsive Design
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 95
New APIs added to SAP Commerce 2005 (released May 2020)

Release 2005 has new APIs Release 2005 includes OCC as extensions
▪ Cancellations and Returns ▪ OCC as addons still included
▪ Commerce Org (My Company) ▪ But default CX recipe uses extensions
▪ ASM improvements ▪ … see release notes
▪ … see release notes
What this means
Latest Spartacus works with 1905 and 2005 ▪ Default OCC API call is /occ/v2
▪ One restriction: APIs available in backend ▪ If you use OCC addons, it’s /rest/v2
▪ Examples:
– 2005 has Cancel/Returns API
▫ so if using 2 0+2005, Spartacus Cancel/Returns ☑️
– 1905 does not have Cancel/Returns API
▫ so if using 2 0+1905, can’t offer Cancel/Returns

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 96


Thank you.
Contact information:
Bill Marcotte
Senior Product Manager
bill.marcotte@sap.com
Follow us

www.sap.com/contactsap

© 2020 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose w ithout the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed w ithout prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, w ithout representation or
w arranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions w ith respect to the materials.
The only w arranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
w arranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
w ithout notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forw ard-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forw ard-looking statements, and they
should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as w ell as their respective logos are trademarks or registered
trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names
mentioned are the trademarks of their respective companies.
See www.sap.com/copyright for additional trademark information and notices.
SAP folgen auf

www.sap.com/germany/contactsap

© 2020 SAP SE oder ein SAP-Konzernunternehmen. Alle Rechte vorbehalten.


Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu w elchem Zweck und in w elcher Form auch immer,
ohne die ausdrückliche schriftliche Genehmigung durch SAP SE oder ein SAP-Konzernunternehmen nicht gestattet.
In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert w erden. Die von SAP SE oder deren
Vertriebsfirmen angebotenen Softwareprodukte können Softw arekomponenten auch anderer Softw arehersteller enthalten. Produkte
können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen w erden von der SAP SE oder einem SAP-Konzernunternehmen bereitgestellt und dienen ausschließlich
zu Informationszw ecken. Die SAP SE oder ihre Konzernunternehmen übernehmen keinerlei Haftung oder Gew ährleistung für Fehler
oder Unvollständigkeiten in dieser Publikation. Die SAP SE oder ein SAP-Konzernunternehmen steht lediglich für Produkte und
Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jew eiligen Produkte und Dienstleistungen ausdrücklich
geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
Insbesondere sind die SAP SE oder ihre Konzernunternehmen in keiner Weise verpflichtet, in dieser Publikation oder einer
zugehörigen Präsentation dargestellte Geschäftsabläufe zu verfolgen oder hierin w iedergegebene Funktionen zu entw ickeln oder zu
veröffentlichen. Diese Publikation oder eine zugehörige Präsentation, die Strategie und etw aige künftige Entw icklungen, Produkte
und/oder Plattformen der SAP SE oder ihrer Konzernunternehmen können von der SAP SE oder ihren Konzernunternehmen jederzeit
und ohne Angabe von Gründen unangekündigt geändert w erden. Die in dieser Publikation enthaltenen Informationen stellen keine
Zusage, kein Versprechen und keine rechtliche Verpflichtung zur Lieferung von Material, Code oder Funktionen dar. Sämtliche
vorausschauenden Aussagen unterliegen unterschiedlichen Risiken und Unsicherheiten, durch die die tatsächlichen Ergebnisse von
den Erw artungen abweichen können. Dem Leser w ird empfohlen, diesen vorausschauenden Aussagen kein übertriebenes Vertrauen
zu schenken und sich bei Kaufentscheidungen nicht auf sie zu stützen.
SAP und andere in diesem Dokument erw ähnte Produkte und Dienstleistungen von SAP sow ie die dazugehörigen Logos sind Marken
oder eingetragene Marken der SAP SE (oder von einem SAP-Konzernunternehmen) in Deutschland und verschiedenen anderen
Ländern w eltweit. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jew eiligen Firmen.
Zusätzliche Informationen zur Marke und Vermerke finden Sie auf der Seite w ww.sap.com/corporate/de/legal/copyright.html.

You might also like