Shopping Cart URL Parameters

This article applies to:

Add a product to a cart

Just change the highlighted portion to point to your app and to set your parameters. You can combine parameters with "&" as shown in the URL below. 

Please note that these work for our Legacy bundle links and product links. 

Example: https://martyc.infusionsoft.app/app/manageCart/addProduct?productId=125&quantity=2

Parameter Name
Description
Required
productId
The id of the product to add the cart.
Y
subscriptionPlanId
The id of the subscription plan that is being sold.
N
quantity
The quantity of the product being added.
N (defaults to 1)
productOptionId
A comma separated list of all of the product options that are being added.
N
productOption
The selected options, this is the id of the option value for fixed list and the text for a variable option. Must match the productOptionId parameter in length and order.
N


Processing a bundle through the cart

Just change the highlighted portion to point to your app and to set your parameters. You can combine parameters with "&" as shown in the URL below.

URL: https://martyc.infusionsoft.com/app/manageCart/processBundle?clearCart=true&executionMode=PRODUCT_TARGETED&productId=90&productQuantity=1&productId=102&productQuantity=2


Parameter Name
Description
Required
productId
A comma separated list of all of the product ids that are being added to the cart.
Y (if no subscriptions)
productQuantity
A comma separated list of the quantities for the products being added. Must match the order and number of product ids submitted.
Y (if products are submitted)
productOptions
Supports legacy links that submit product options. A comma separated list that matches the following format (productId_productOptionId_productOption)
N
subscriptionPlanId
A comma separated list of subscription plans that are being added to the cart. This list is separate from the product ids,
Y (if no products)
subscriptionPlanQuantity
The quantities for the subscription plans being submitted. Must match the order of the subscription plan ids being submitted.

Y (if subscriptions are submitted)


promoCode
A promo code to apply to the cart.
N
checkoutMethod
The checkout method to use (singleStep vs multipleStep)
N
executionMode
Used to lock down certain parts of the cart.
N
clearCart
Whether or not to clear the settings in the cart. (true vs false)
N (defaults to false)
cartSkinId
The id of the cart skin to use when rendering the cart. If it is omitted than the default cart look and feel is used (either style or cart skin)
N
styleThemeId
The id of the style to use when rendering the cart. If it is omitted than the default cart look and feel is used (either style or cart skin)
N


Fields that are captured by the shopping cart and will populate the shipping and billing information

Note: All of the Contact0 files are translated automatically to match the below listed parameters.  So Contact0FirstName is translated to: inf_field_FirstName.

Parameter Names

  • inf_field_FirstName
  • inf_field_MiddleName
  • inf_field_LastName
  • inf_field_Company
  • inf_field_StreetAddress1
  • inf_field_StreetAddress2
  • inf_field_City
  • inf_field_State
  • inf_field_PostalCode
  • inf_field_Country
  • inf_field_Phone1
  • inf_field_Email
  • inf_field_Address2Street1
  • inf_field_Address2Street2
  • inf_field_City2
  • inf_field_State2
  • inf_field_PostalCode2
  • inf_field_Country2
Did this article answer your question?
Thank you for your feedback!