You must insert a small piece of code into your product detail pages before Cross-Sell will function. You may add this code to all of your product detail pages, or to selected product detail pages only. This code will work together with JavaScript that we have previously added into your store pages.
Product detail page cross-sell code can be downloaded from the Product Detail Display Options page in Cross-Sell Manager, once you've configured your display settings (Figure 1). You may add this code to all of your product detail pages, or to selected product detail pages only. This code will work together with JavaScript that we have previously added into your store pages.
![]() |
| Figure 1. Download product detail page cross-sell code from the Product Detail Display Options page in Cross-Sell Manager. |
Customize display settings and retrieve Cross-Sell code
Before retrieving the code, customize your cross-sell display settings using the Product Details Options page in Cross-Sell Manager:
Add Cross-Sell code to all product detail pages
You may use a global variable within Store Editor to insert Cross-Sell code in all product detail pages at once. Once the code has been inserted and changes published, Cross-Sell items will appear on all product detail pages in your store.
Using Store Editor:
* Note: Placing the code within the Final-text field is recommended placement only, for merchants using standard templates. Code may be placed within any field that accepts HTML, including custom fields that have been created for custom templates. The code will function if placed anywhere within the field, but its placement above or below other content will determine if Cross-Sell items are displayed above or below this content on the page.
Add Cross-Sell code to selected product detail pages
You may use either Store Editor or Catalog Manager to insert Cross-Sell code in individual product detail pages. Cross-Sell items will only appear on product detail pages for which you've inserted the code once changes have been published. Note that code inserted using either Store Editor or Catalog Manager will be applied to Store Editor pages only.
* Placing the code within the Caption field is recommended placement only. Code may be placed within any field that accepts HTML, including custom fields that have been created for custom templates. The code will function if placed anywhere within the field, but its placement above or below other content will determine if Cross-Sell items are displayed above or below this content on the page.
| Note: Cross-Sell Manager is available only with Merchant Solutions Standard, Professional, and Yahoo! Store packages. This feature is not currently available to stores using Web Hosting and Store Tags. |
See Also