Configure checkout using URL parameters
Checkout process URLs include variables known as parameters, which allow you to manage the transaction process. These parameters are added to a Cleverbridge URL to control the platform's behavior and are placed after the required components.
Each parameter is prefixed with an ampersand (&).
You can pre-select the language of the page by appending the following: &language=it
. In this case, the page displays in Italian.
Multiple parameters are shown in the example below:
You can trigger a B2B checkout funnel by appending the following to your checkout URL: &b2b=true
. In this case, the checkout page displays the B2B-specific parameters a B2B customer needs to complete the order effortlessly. The B2B checkout parameters include:
- Net pricing display
- Tax breakdown
- Price quote request
- Company address field
- Billing & licensee address (optional)
- Review process for the order
- Automated tax or VatId validation & exemption
Payment methods need to be configured separately for the B2B checkout funnel.
Parameters are commonly used for various purposes, such as:
- Saving shopping cart items by setting a cookie on the customer's browser
- Creating a Continue Shopping link
- Specifying the currency for an order
- Applying discounts with a coupon code
- Adding product recommendations
- Implementing a campaign tracking pixel to monitor orders
For a list of URL parameters, see Checkout Process Parameters.
Cleverbridge's URLs must not exceed 2,000 characters. Certain browsers may not be able to process URLs that exceed this length.
Basic components of checkout process URLs
The basic components of a checkout process URL are as follows:
https://www.cleverbridge.com/
<client account id>/
?scope=<name>
&cart=<product list>
&<additional Parameter>
https://www.cleverbridge.com/8/?scope=checkout&cart=1453
Parameter | Description |
---|---|
<client account id> | Your Cleverbridge ID number. |
<name> | Valid scope names are cart , checkout , and quote . Additional scopes for partners are checkoutres and quoteres . For more information, see Further Parameter Values for the Scope Parameter.Example: &scope=checkout |
<product list> | Cleverbridge product ID or internal product ID of the selected products. Separate multiple product IDs with a comma. If the internal product ID is used, it should be preceded by the capital letter I. Example: &cart=97769,IBC345 |
<additional parameter> | An additional, optional parameter. |
For the list of all available checkout process parameters, see:
- Checkout Process Parameters
- Further Parameter Values for the Scope Parameter
- URL Parameters for Cookie URLs