Checkout Links
Overview
Checkout links are the links that customers can use for adding products to a checkout page and proceeding to checkout.
To enable the customer to use the link, place it on a website or in an email.
The basic version of the checkout link contains only the ID of the product to be added to the checkout page.
Use additional parameters in the checkout link to add several products to the same checkout page, to change product display, and more.
Basic Checkout Link
The basic checkout link allows the customer to add one product to the checkout page. The minimum allowable number of product units will be added to the checkout page.
Link format:
You can get links in this format on the product management page via the Merchant Portal.
Use Additional Parameters
Use GET parameters to obtain additional features. For example, you can add several products to the checkout page using the same link, or apply a promotion code to get a discount, switch languages or currencies of the checkout page, etc.
One link can transfer several parameters at once. You have to list the required parameters after “?”, separated by “&”.
Basic link format:
Link format for links containing one additional parameter:
Link format for links containing several additional parameters:
Pre-Empty Checkout Pages
Using the clear=Y parameter, you can pre-empty a checkout page before other products are added via a checkout link.
After following the checkout link containing an additional parameter:
- The checkout page will contain only the products that are transferred in the link
- If there are other products on the checkout page added earlier, they will be deleted
Link format:
where:
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- clear=Y - parameter to clear checkout pages. No applicable values
Example:
- Add the first product to the checkout page:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375 - Add the second product and transfer clear=Y in the link:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653382?clear=Y - Result: The first product has been deleted. Only the second product remains on the checkout page
You can also use clear=Y to remove products from a checkout page without adding any new products.
Link format:
Add Products to Checkout Pages
Several Products
Using the pricegroupid parameter, you can add several products to a checkout page at once via the same checkout link. The minimum product quantity allowed will be added.
Link format:
where:
- pricegroupid={product_1_id},{product_N_id} - parameter transfers products to be added to checkout pages
- Instead of the values in brackets, enter the required product IDs separating them by commas
- You can get these IDs from the basic URLs of the corresponding products
You can use this parameter together with other parameters. Add parameters placing "&" between them.
Example:
- There are two products:
Product 1: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?clear=Y
Product 2: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653382?clear=Y - The link for adding the two products to the checkout page at once will be:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/?pricegroupid=4653375,4653382&clear=Y
You can also use cross-sell offer to add additional products automatically to your checkout page. More details on this option.
Several Product Units
Using the quantity parameter, you can add several units of the same product to a checkout page. By default (no additional parameters), the minimum allowable number of product units will be added to the checkout page.
Link format:
where
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- quantity={value} - parameter transfers product quantity
- Instead of the values in brackets, enter the required quantity of the product units to be added to the checkout page
- The quantity of the product units must not exceed the product quantity limits allowed for selling
You can use this parameter together with other parameters. Add parameters placing "&" between them.
Example:
- The default product quantity on the checkout page (1 unit):
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?clear=Y - When adding 10 product units:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?quantity=10&clear=Y
Several Products Having Individual Quantities Each
Using additional parameters, you can add several different products to one checkout page and set different quantities for each of the products.
Link format:
where
- pricegroupid={product_1_id},{product_N_id} - parameter transfers products to be added to checkout pages
- Instead of the values in brackets, enter the required product IDs separated by a comma
- You can get these IDs from the basic URLs
- quantity={product_1_quantity},{product_N_quantity} - parameter to transfer quantities of each product
- Instead of the values in brackets, enter the quantities of the product units for each of the products to be added to the checkout page
- The quantities of different products are separated by commas
- The quantity of the product units must not exceed the product quantity limits allowed for selling
NOTE: Use the same sequence to list the quantities as you use to list the products in the pricegroupid parameter. If you need to add a product to a checkout page using the minimum allowed quantity (checkout link does not determine product quantity), do not transfer the quantity of this product, but keep commas around the missing value: ...?pricegroupid={product_1_id},{product_2_id},{product_N_id}&quantity={product_1_quantity},,{product_N_quantity}
You can use this parameter together with other parameters. Add parameters placing "&" between them.
Example:
- There are 3 products:
Product 1: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?clear=Y
Product 2: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653382?clear=Y
Product 3: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653387?clear=Y - There is a link: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/?pricegroupid=4653375,4653382,4653387&quantity=5,,3&clear=Y - using the link the following will be added to the checkout page:
5 units of product 1, minimum quantity of product 2, and 3 units of product 3.
Set Currency for Checkout
Using the currency parameter, you can add a product having its price in a specific currency to a checkout page. This option is only available for multi-currency checkout pages. You can enable currencies according to the conditions of your Agreement.
How it works:
- Applies to all the products on the checkout page
- The checkout page cannot contain two products prices of which are set in different currencies
- If the checkout page already contains one or more products in some currency, and the customer clicks a checkout link containing a different currency, the currency of the checkout page will change but only if all the products on the checkout page are available for sale in the newly transferred currency
- If at least one of the products added to the checkout page is not available for sale in the transferred currency, the products are added to the checkout page as if no currency is transferred in the checkout link (i.e., checkout page currency will not change)
- After clicking the link that transfers the currency, the customer can change the currency of the checkout page manually (as usual)
Link format:
where
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- currency={value} - parameter transfers currency codes of products to be added to checkout pages:
- Instead of the values in brackets, enter the required currency code according to ISO 4217 alpha-3, e.g. , "USD" - US dollars
- For the list of codes, see the currency reference
You can use this parameter together with other parameters. Add parameters placing "&" between them.
Example:
- Adding one product:
Having price in USD: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?currency=USD&clear=Y
Having price in EUR: https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?currency=EUR&clear=Y - Adding several products having prices in dollars:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/?pricegroupid=4653375,4653382¤cy=USD&clear=Y
Set Language for Checkout
Using the lang parameter, you can open a checkout page in a specific language. The transferred language must be enabled for the checkout page.
Link format:
where:
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- lang={value} -parameter transfers language codes for checkout page interfaces
- Instead of the value in brackets, enter the four-letter code of the corresponding language in form xx_XX
- For the list of codes, see the language reference
You can use this parameter together with other parameters. Add parameters placing "&" between them.
Example:
- Checkout page language - English:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?lang=en_EN&clear=Y - Checkout page language - German:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?lang=de_DE&clear=Y
Display Products Properties on Checkout Pages
Default State of Auto-Renewal Checkbox
Using parameter auto_renew, you can control the default state of the subscription consent for products on the checkout page. The parameter affects only the default state. The customer can switch the state of the consent manually.
Use the parameter if you want to control the logic for enabling the checkbox depending on specific scenarios. If you want to change the default checkbox for all your products, contact our support team.
Link format:
where
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- auto_renew={value} - parameter transfers customer consent and subscription to product auto-renewal:
Instead of {value} enter one of these:- 0 - consent to product auto-renewal is disabled by default
- 1 - consent to product auto-renewal is enabled by default
You can use this parameter together with other parameters. Add parameters placing "&" between them.
When used with the parameters for adding several products to one checkout page, you can transfer the checkbox values differently per product.
Link format:
NOTE. Use the same sequence to list the checkbox values as you use to list the products in the pricegroupid parameter. If any of the products needs to be added to the checkout page without specifying the value of the checkbox in the checkout link, do not transfer the quantity of this product, but keep commas around the missing value: ...&auto_renew={product_1_value},,{product_N_value}
Example:
- Consent to product auto-renewal is disabled by default:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653387?auto_renew=0&clear=Y - Consent to product auto-renewal is enabled by default:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653387?auto_renew=1&clear=Y
Display Prices in "Per Month" Format
Using the CustomID=PPMONTH parameter, you can display a product extra price per month next to a regular price on checkout pages. Only products that have their validity periods set in months or years can use this parameter. More details on the "per month" format.
Example:
- Some product has price $120 and product validity period (term) 1 year
- If the "per month" format is disabled, the customer sees $120 on the checkout page
- If the "per month" format is enabled, the customer sees $120 ($10 per month) on the checkout page
The parameter is not supported by the default settings of the checkout page. If you need to use the parameter, please contact our support team.
Format link:
where:
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- CustomID={value} - parameter transfers additional settings for checkout pages. To display prices in the "per month" format, transfer the value of the CustomID=PPMONTH parameter.
Apply Promotion Codes (Coupons)
Promotion codes (coupons) - one of the types of product discounts. To get a discount, you must activate a promotion code on a checkout page. More details on how to use promotion codes.
There are several modes possible on the checkout page:
- Promotion code activation block is always displayed
- Promotion code activation block is hidden
With the parameters in a checkout link, you can:
- Pre-fill the promotion code activation field on the checkout page (customers must press the activation button manually)
- Automatically activate a promotion code sent in the link
- Display the promotion code activation block that was hidden by default
Prefill Promotion Codes
Using the coupon_seria parameter, you can pre-fill the promotion code activation block on a checkout page. The customer will have to press the activation button to apply their promotion code. When using this parameter, the block is displayed in any mode of the checkout page (if it is always displayed or if it is hidden by default).
Link format:
where
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- coupon_seria={promotion code} - parameter transfers promotion codes. Enter required promotion codes that you want to be inserted into the activation field
Example:
- The checkout page will display the promotion code activation block with the pre-filled value of the "DEMO" series.
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?coupon_seria=DEMO&clear=Y
Use Automatic Promotion Code Activation
Using parameter auto, you can automatically activate a promotion code transferred in coupon_seria.
How it works:
- If the promotion code activation block is always displayed on a checkout page, the customer sees the message notifying of some promotion code being activated and some discount being applied to their product
- If the promotion code activation block is hidden on a checkout page, the promotion code is not displayed when following a checkout link, and the customer can only see the discount applied at checkout
Link format:
where:
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- coupon_seria={promotion_code} -parameter transfers promotion codes. Enter required promotion codes that you want to be inserted into the activation field
- auto -parameter for automatic activation of promotion codes. There are no values to insert
Example:
- The promotion code discount is applied:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?coupon_seria=DEMO&auto&clear=Y
Display Promotion Code Activation Form
Using the show-coupon parameter, you can display an empty block used for activating promotion codes on a checkout page. Use this parameter if the promotion code activation block is hidden by default on the checkout page.
Link format:
where:
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- coupon_seria={promotion_code} - parameter transfers promotion codes. Enter required promotion codes that you want to be inserted into the activation field
- show-coupon -parameter for displaying the promotion code activation block. There are no values to insert
Example:
- The promotion code activation block is displayed on a checkout page:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?show-coupon&clear=Y
Transfer Referrers
Using parameters referer1-referer6, you can transfer any values that will be stored into orders. This data is not displayed to customers on checkout pages, but they can see it in the URL bar. More details on how to use this data.
How it works:
- The referrers transferred in a checkout link are fixed on the customer end via cookies (storage period - 45 days)
- If the customer completes the creation of an order, these parameters are saved into the order (please note that the time for storing additional parameters in orders is limited)
Link format:
where:
- https://{checkout_page_domain}/basket/add/{product_id} - basic checkout link
- referer1={value}&referer2={value}&referer3={value}&referer4={value}&referer5={value}&referer6={value} - parameters transfer referrer values
- The maximum number of referrers is 6, i.e. the allowed parameter names are referer1 ... referer6
- A referrer value cannot be more than 255 characters
Example:
- The link transfers referer1 having value promo1:
https://docs-demo.checkout.noventiq.com.demoslweb.com/basket/add/4653375?referer1=promo1&clear=Y