Contact
Shipping
Address
(this is a step that only appears for the first time buyer or when an address is incomplete)Payment
Steps
A Step is composed of a few propertiesid | string | Id of the step |
---|---|---|
name | string | Name of the step |
page | string | undefined Note : If it is a default page, you don’t need to specify a page. | The property for setting a component to replace/insert on this page. |
summary | string | undefined Note : If it is a default page, you don’t need to specify a summary. | The property for setting a component to replace/insert on this summary. |
displayCondition | smart | required | byCondition | smart by default. When it is smart if the step has all the data selected, you will skip this step and be automatically redirected to the next step. If it’s required this step will always be displayed. If it’s byCondition the step will be displayed according to a condition defined in the step page. |
displayMode | Default | Full | Default the new step will include two sections, left side for the custom component and right side for the Cart Summary. Full is for a blank page. |
Default steps setup
Adding a custom step
A Step must always include a page. In a new blank page there are no slots, so a way to think about a page is that it’s where you’ll upload a single component.A page is a custom component

You can add a custom page to a native step, simply change the
page
and we’ll load your page.
Display Condition
Smart
When you add a new step, this step will be"smart"
by default. This means that if all of the required actions in a step have been done, the user will jump to the next step.
Required
To make a step always appear, change thedisplayCondition
of any step to "required"
byCondition
The step will be displayed according to a condition defined in the page.Display Condition and Custom Pages
When creating a new step, you’ll also have to create a new page. It is likely that your page will contain some fields, and depending if the user has taken a specific action in this page, you’d like the user to always have to go through this page until the action is completed. To improve the user experience and skip steps that don’t require changes, you need to pass the information to the Ollie cart. To do this, you need to create a function and add a property, as shown in the example below.In the next example, we validate if we have a product with a “warranty.” If we do, the page will be marked as incomplete so the user can see this page in the checkout flow.
Function example:
index.js
Use versions to have different journeys at the same time