You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Recommendation Class > Recommendation Properties
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Recommendation Properties

The properties of the Recommendation class are listed here.

 
Name 
Description 
 
Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).  
 
Enter a default product ID that contains either cross sell or up sell items. To make the server control dynamic, enter zero (0) in this property and set the DynamicProductParameter to QueryString parameter used to pass the product’s ID.  
 
Specify an external XSLT file to render the control. By default, the control uses Recommendation.xsl. This file is located in:  
 
The QueryString parameter name which is used to pass the product ID to the Cart server control. For example, if your QueryString parameter for products is Product, enter that in this property. Then, when site visitors click the Add to Cart button, this parameter is passed with the product’s ID Web form containing the Cart server control.  
 
The QueryString parameter name which is used to pass the product ID to the product details page. For example, if your QueryString parameter for products is PID, enter that in this property. Then, when site visitors click a product’s title, this parameter is passed with the product’s ID to the product details page.  
 
Maximum number of results to be returned.  
 
Specify the number of items to show per page when a site visitor views recommendations. If the number of items exceeds the quantity defined in this property, the list is paged and the site visitor can use the paging navigation system to move through the list.  
 
The type of recommendation to show. Choices are:
  • CrossSell - used to help sell additional items that a site visitor might be interested in. For example, if you are selling Denim Jackets, you might want to cross sell them pants or shirts.
  • UpSell - used to sell additional items that improve on the item being purchased. For example, if you are selling 7 megapixel digital cameras, you might want show the site visitor 10 megapixel digital cameras.
For information on Cross Selling and Upselling, see the Administrator Manual section "Adding Cross Sell and Upsell Recommendations to a Catalog Entry"  
 
Specify the location of a style sheet to use for the recommendation control. Set the location relative to the site root folder. For example:  
 
The URL to navigate to when the site visitor clicks the Add to Cart button. This path can be relative or absolute. When a path is entered, the Add to Cart button appears next to the item and allows a site visitor to add the item directly to their cart.  
 
Specify the URL that contains the Product server control. This allows a site visitor to see the details of the product when the product link is clicked. This path can be relative or absolute.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!