Checkout - Configuration
- 1 What is sugar and plastic tax and how can it be added?
- 2 What is a bag fee and how can it be added?
- 3 Guest Checkout
- 3.1 Sanity Configuration
- 3.2 Support Tool
- 3.3 How to enable:
- 3.4 Translations
- 3.5 Analytics
- 3.6 Email communication
- 4 Cross-selling
- 5 Maximum Checkout Amount
- 6 Maximum Cash Limit
- 7 How to adjust the format of the customer facing order number?
This page details the checkout specific configuration available for operators.
What is sugar and plastic tax and how can it be added?
Some markets may be legally required to add a plastic or sugar tax on certain items. Plastic Tax and Sugar Tax are captured as respective modifiers in Sanity and have their own PLUs.
Please note that the tax line enabled by the enable-hide-tax-line
flag does not display the Sugar nor Plastic tax.
What is a bag fee and how can it be added?
Some markets are legally required to charge an extra fee when using plastic or paper bags as order packaging. This fee is applied as a fixed fee to the cart order total in every service mode that uses a bag.
The bag fee can be applied to the following service modes:
Delivery
Pick Up
Drive-thru
Curbside
The bag fee is configured in Sanity under Marketing Content > Features > Feature Fees and Taxes.
Within the “Bag Tax” section, you may choose the service mode you would like to apply the fee to by using a toggle and adjust the appropriate amount in cents.
Additionally, if you wish to add a brief explanation for your guests, you may do so by including the description in the “Bag Tax Explainer” section. This is a localized configuration, allowing you to add the desired translation in the section below.
Note that this feature is only available for specific POS. If you would like to use the bag fee, please contact your CSM to check if your POS supports it.
Guest Checkout
The Guest Checkout feature accommodates the users who wish to order online without registering for an account. This will allow for capturing incremental sales resulting from a conversion lift at the /cart to /payment step. Current version of this feature does not include:
Marketing communication opt-in
Option to register after order placement
If you’re interested in enabling this feature in your market and participating in A/B testing, please contact the CSM team for early access.
Sanity Configuration
Guest Checkout - Time To Live
Guest Checkout Time to Live configuration - allows you to specify period in which transactional data will be stored in Sanity.
Support Tool
Guest Checkout - Refunds
As a support tool user you can refund guest orders, but you will not be able to search for a guest order using the guest’s email address and you will not be able to access a user profile.
How to enable:
The feature is controlled by two flags - one for the backend and one for the frontend
FE:
enable-guest-checkout
BE:
enable-guest-checkout
At the frontend is one dependent flag - enable-move-signup-after-cart
that needs to be turned on.
Translations
(Lokalise strings specific to Guest Checkout):
payWithCreditCard
payWitPaymentChequeGourmet
choosePaymentMethodOption
payWithPaymentSodexo
payWithPrepaidCard
payWithBlik
payWithIdeal
signUpOrGuestToContinueDisclaimer
continueAsAGuest
Analytics
You may monitor performance by filtering eCommerce Purchase events by an attribute guestID
or by event property Is Guest Order
:
Email communication
To communicate with our guests, we utilize Notification Service. Please keep in mind those transactional emails are not sent through Braze.
You may control it by the following Launch Darkly flag – enable-notification-service-email
You should set the following targeting end enable flag:
Cross-selling
You may read more about cross-selling and add-on options here.
Maximum Checkout Amount
If you wish to apply a limit to the order value with which a guest is allowed to checkout please contact your CSM to configure the following flag:
CheckoutLimitOverrideCents.
You may also wish to set up a maximum and minimum for your catering order which can be achieved by configuring the following flags:
CheckoutCateringLimitOverrideCents
CheckoutCateringLimitOverrideCents
please contact your CSM to consult your request.
If you wish to set a delivery minimum for your orders please contact your CSM to configure the following flag:
checkoutDeliveryMinimumOverrideCents
Maximum Cash Limit
If you wish to limit the maximum allowance for cash orders you can do so by contacting your CSM to configure the following flag
checkout-cash-price-limit
How to adjust the format of the customer facing order number?
This order number is sent to the POS and also will be visible on the confirmation page.
If you wish to adjust a format of the order number in the order-confirmation page, for example it has to start with 'APP' or '<some digit>'), so that the numbers won't clash with other orderservice modes (POS / 3rd party delivery), you may contact your CSM to configure a number of attributes in the
format-order-number-variations
flag. Here's some explanation of each attribute available:"maxValue": 999, // this means the orderNumber goes up to 999 before reseting to 0
"padString": "0", // this means the number 23 will be shown as 023
"prefix": "APP", // this is string before the number
"targetLength": 3 // this means we want 3 digitsSo under the above configuration, the orderNumber
'1' => 'APP001'
'23' => 'APP023'
'997' => 'APP997'
Please note: This order number is not the rbiOrderId