# 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:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.konnektive.com/konnektive-crm/crm-setup/campaign-setup/landing-page-setup-form-code/additional-upsell-pages-form-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
