Additional Upsell Pages (Form-Code)

Step 1: Locating the php code

When integrating more than 4 upsell pages, you want to keep using the same methods of integration as used in the first 4.

The integration is the same, but in order for it to pull the right product information you must make a few changes to the php code.

Step 2: Making the changes

The pageType does not need to be changed. So long as it is an upsellPage the number does not matter; however, it can only go up to 4.

The productId is what needs to be changed. Where it says "$productId = $ksdk->page->productId;", you will want to have manually set the Id.

The last step is adding a line, to ensure the redirect is to the appropriate next page. By setting $ksdk->redirectsTo = "next page"; you are telling the form to go to that page after being submitted.

Example:

Logo

Konnektive Links

CRMNeed more help?