# How to Add and Delete a Cross or Up Sale

*Article Topics:* [*Programs*](/getting-started/common-topics/programs.md)*,* [*Affiliate*](/getting-started/common-topics/affiliates.md)*,* [*Cross Sales*](/getting-started/common-topics/cross-sales.md)*,* [*Up Sales*](/getting-started/common-topics/up-sales.md)

## Adding a cross-sale

{% hint style="info" %}
**Please Note:** To process incoming and outgoing cross sales or up sales, you must have a Cross Sale/Up Sale compatible program configured first.

To learn more about setting up a Program, view "[How to Add and Remove Programs.](/nats-admin/programs/common-questions/how-to-add-and-remove-programs.md)"
{% endhint %}

To add a new Cross Sale, click the "Add Cross Sale" button at the top-right corner of the [Cross Sale Management](/nats-admin/cross-up-sales/cross-sales.md) page. Once clicked, a widget will appear on that page, where you will need to fill in all of the necessary information, depending on whether the cross sale is outgoing or incoming.

Properly setting up your Cross Sale or Up Sale requires starting from the Incoming portion since this will generate the reference code necessary to configure the outgoing side. The reference code is what ties together the incoming and outgoing Cross Sale or Up Sale. &#x20;

To learn more view [Linking an Incoming cross-sale to an outgoing cross-sale](/nats-admin/cross-up-sales/common-questions/linking-an-incoming-cross-sale-to-an-outgoing-cross-sale.md).&#x20;

### Incoming

For adding an incoming cross sale, you need to select the "Incoming" option, choose an available biller, and choose the site and program that will let other sites sell memberships to your site and program on their join form. When finished, click the "Save Changes" button, and the incoming cross-sale will be added.&#x20;

![Adding an Incoming Cross Sale](/files/zkh885lcaTU1IkZ0dvkd)

{% hint style="warning" %}
**Very Important:** For a selectable program to show up in the drop-down menu, it must first be set up in the "Programs" section of your NATS Admin as a "Cross Sale Program."
{% endhint %}

### Outgoing

For adding an outgoing cross sale, you simply need to select the "Outgoing" option and choose a biller for the cross sale. Clicking on the menu will display all of the billers in your NATS. When finished, click the "Save Changes" button, and the outgoing cross-sale will be added.

![Adding an Outgoing Cross Sale](/files/3W9wek1PgTAWX1oTlEmq)

## Adding an Up Sale

To add a new Up Sale, click the "Add Up Sale" button at the top-right corner of the [Up Sale Management](/nats-admin/cross-up-sales/up-sales.md) page. Once clicked, a widget will appear on that page, where you will need to fill in all of the necessary information, depending on whether the up sale is outgoing or incoming.

### Incoming

To add a new incoming cross sale, select the "Incoming" option, choose an available biller, and choose the site and program to let other sites sell memberships to your site and program. When finished, click the "Save Changes" button, and the incoming up sale will be added.

![Adding an Incoming Up Sale](/files/o1AnSxHzXThQAhTPGRR9)

### Outgoing

For adding an outgoing Up Sale, choose the "Outgoing" option and select an available Biller for the up sale. When finished, click "Save Changes", and the up sale will be added.

![Adding an Outgoing Up Sale](/files/my4ca4IkxYHsYM5GNszk)

## Promoting Cross Sales

Affiliates can view your newly created Cross Sales at the following URL:

* <https://domain/internal.php?page=xsells>

(Replace *domain* in the example above with your [Linkdomain](/using-nats/nats-admin-features/linkdomain.md)).

On this page, affiliates will be able to see what site, program, reference code, and biller to which this cross-sales option is associated. This page also provides information about the join options to which these cross-sales are tied.&#x20;

<figure><img src="/files/p14dTqa1hK4t9dy2vD6w" alt=""><figcaption></figcaption></figure>

Affiliates and cross-sales must both belong to the same program before an affiliate can view cross-sale reference codes. Cross-sale reference codes (or Ref Codes) are essential to configuring an outgoing cross-sale.

## Crediting Affiliates for Cross Sales / Up Sales

By default, cross sales and up sales will credit the affiliate on the Ref Code. An affiliate will be credited for the original join, but not the cross sale or upsell.

In order to credit an affiliate for both the original sale and any subsequent cross sales, you must enable the **Recalculate Ref Code** setting for that particular Cross Sale. The affiliate must also be enabled within the same program as the cross sale.&#x20;

You can find this setting by navigating to the Cross Sale or Up Sell admin and selecting the relevant option.

Enabling this setting will ensure that the affiliate getting credit for the original join will also be credited for the specific cross sale or upsell if they are enabled within the cross sale program.

<figure><img src="/files/jUCYIrBt0pQq5zxwOm67" alt=""><figcaption></figcaption></figure>

## Disabling/Restoring Up Sales

To disable an up sale, click the "Actions" button to the right of the corresponding up sale and click "Delete this Sale". This up sale will be inactivated, but can still be displayed by clicking the "Show All" option in the filter.

Similarly, you can restore a previously deleted up sale by clicking the "Actions" button to the right of the corresponding deleted Pp Sale and clicking "Restore Sale". An upsell will indicate that it has been previously deleted by displaying a red "deleted" label next to its name.

{% hint style="info" %}
**Please Note:**  When deleting a Cross Sale or Up Sale, sales are still being recorded and not deleted. This means the Affiliate will still receive credit for promoting the associated Program but it will no longer be displayed in their Affiliate Area.&#x20;
{% endhint %}

## Incoming Gateway Cross Sale / Up Sales&#x20;

To receive cross-sales using a [gateway biller](/getting-started/integrations/supported-billers.md#integrated-gateway-billers), you must add the seller's IP address to the cross-sale secure IPs configuration array. The configuration arrays for each gateway are named after the gateway biller:

* $config\['XSELL\_JETGATE\_SECURE\_IPS']
* $config\['XSELL\_NETBILLING\_SECURE\_IPS']
* $config\['XSELL\_RSBILLING\_SECURE\_IPS']

Place the configuration array above for your biller in your NATS *includes/config.php* file and add IP addresses to it. For example:

```
$config['XSELL_NETBILLING_SECURE_IPS'] = Array(
'0' => '111.111.111.111',
'1' => '222.222.222.222',
'3' => '333.333.333.333'
);
```

{% hint style="warning" %}
**Warning:** Incorrectly formatting this line will break your NATS. Each entry should be a single IP address -- ranges, masks, and globs are not supported. Place a comma between each entry.
{% endhint %}

## Related Articles

{% content-ref url="/pages/ymskW2PRSIAq2PFc5LBS" %}
[Cross/Up Sale Overview](/nats-admin/cross-up-sales/cross-up-sale-overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/5UgOKjktQdb5uEef9n99" %}
[Linking an Incoming Cross-sale to an Outgoing Cross-sale](/nats-admin/cross-up-sales/common-questions/linking-an-incoming-cross-sale-to-an-outgoing-cross-sale.md)
{% endcontent-ref %}


---

# 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://docs.toomuchmedia.com/nats-admin/cross-up-sales/common-questions/how-to-add-and-delete-a-cross-or-up-sale.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.
