eCommerce Recommendations

Ektron eCommerce lets you recommend related products to a customer (site visitor) based on products they are currently viewing.

Adding cross sell and upsell recommendations to a catalog entry

Adding Cross Sell and Upsell Recommendations to a Catalog Entry

Cross sell and upsell tactics are designed to increase the amount of cart sales.

Cross sell offers items related to a catalog entry. So, for example, if someone is purchasing a digital camera, cross sell items might be a carrying bag, digital photo printer, larger memory cards, additional warranty, and so on.

Up Sell refers to similar but more expensive items. So, for example, if someone is viewing a 7 megapixel digital camera, upsell items might be a 10 megapixel camera, or a digital SLR camera.

The following sections explain how to assign cross sell and up sell items to any catalog entry, and how to display them on your Web site.

Assigning cross sell and upsell items to a catalog entry

Assigning Cross Sell and Upsell Items to a Catalog Entry

  1. Open the catalog folder containing the catalog entry to which you want to assign cross sell items.
  2. Click that entry.
  3. Click View > Cross Sell or Up Sell.

  4. Click Add. A screen displays all catalog folders.
  5. Open the folder that contains the cross sell or upsell catalog entry.
  6. Click that catalog entry.
  7. Click OK.
  8. Enter additional cross sell entries as needed.
  9. Choose Action > Save.
Selecting items to add

Selecting Items to Add

After selecting Cross Sell or Up Sell, a screen lets you select recommended items. Navigate the folder structure to find them. See Also: Adding Cross Sell and Upsell Recommendations to a Catalog Entry

Open the applicable folder and click any catalog entry to add it to the list.

Displaying cross sell and upsell items on your Web site

Displaying Cross Sell and Upsell Items on Your Web Site

Use the Recommendation Server Control to place cross sell or upsell items anywhere on a Web page. A single control can only show either cross sell or upsell items.

Recommendation server control

Recommendation Server Control

Prerequisite: Cross sell or upsell products have been assigned to a catalog entry. See Also: eCommerce Recommendations

The Recommendation server control lets you cross-sell or up-sell products to a customer based on another product’s ID. After you create a product in the Workarea, you can define a list of other products that you want to associate with the new product. You can do this while viewing a product in the Workarea and selecting the View menu > Cross Sell or Up sell. Then, by adding the Recommendation server control to a Web form that contains a Product server control, the customer sees the recommendations when viewing the product details.

Typically, this control appears on a page along with a Product server control. By using this control in conjunction with the Product control, a customer can view the details of a product and also receive suggestions on additional purchases. A customer can click the title to view the suggested product to view its details.

For example, if your site is selling a hat, mitten and scarf set, you might use this server control to cross-sell winter jackets. You could also use the control to up-sell a more expensive hat, mitten and scarf set, or a set that includes additional items.

See Also: Adding Cross Sell and Upsell Recommendations to a Catalog Entry .

The RecommendationType property determines whether the Recommendation server control is used for up-selling or cross-selling.

Enabling the Add to Cart button

Enabling the Add to Cart Button

Customers can add a product to their cart directly from the Recommendation server control by clicking Add to cart next to a product. This link appears below the price and allows them to skip the product’s information page and add the product directly to their cart.

By default, this button appears when the following conditions are met:

  • The product is buyable. That is, there is a check mark in the Buyable property for a product in the Workarea. See Also: Creating a Catalog Entry

  • The product has an In Stock quantity of at least one.

  • The TemplateCart property has a cart’s template location defined.

In addition, if a product has an alias path associated with it, you need to:

  • Make sure the TemplateCart property’s path is relative to the site root. For example:
    TemplateCart="Developer/Commerce/CartDemo.aspx"
  • Add the following to the code-behind page. This example is in C#:
    protected void Page_Init(object sender, EventArgs e)
    {
      Utilities.RegisterBaseUrl(this.Page);
    }
Recommendation server control properties

Recommendation Server Control Properties

The following are Ektron-specific server control properties. You can find information about native .NET properties such as font, height, width and border style in Visual Studio® help.

  • Authenticated (String)

    Indicates if you are logged into the CMS Explorer and can use it to browse to content, collections, and so on. See Also: Browsing Your Ektron Site Using CMS Explorer.

  • CacheInterval (Double)

    The number of seconds that the server control’s data is cached. The default is 0 (zero). For example, if you want to cache the data for 5 minutes, set to 300. See Also: Caching with Server Controls.

  • CustomXml (Code-behind Only) (String)

    Lets you inject custom XML into the generated XML before being processed by the XSLT. Enter a string of XML that you want to make available to the XSLT as follows:

    <root><customXml>custom-xml-inserted-here</customXml></root>

    See Also: Displaying Custom XML in Ektron’s Server Controls.

  • DefaultProductID (Integer)

    Enter a default product ID that contains either cross sell or up sell products. 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.

  • DisplayXslt (String)

    If desired, enter a relative or absolute path to an Xslt that determines the display of the page. By default, the control uses Recommendation.xsl. This file is located in siteroot\Workarea\Xslt\Commerce

    WARNING! If you specify an external file, do not store this file in the Workarea folder. If you store this file in the Workarea folder, the file will be lost when you upgrade.

  • DoInitFill (Boolean)

    By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, Fill is automatically called during the Page Render event. You might do this if you need to set or change a property on the control in code-behind and have it render with your changes shown.

  • DynamicCartParameter (String)

    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 customers click Add to Cart, this parameter is passed with the product’s ID Web form containing the Cart server control. See Also: Cart Server Control

  • DynamicProductParameter (String)

    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 ID, enter that in this property. Then, when customers click a product’s title, this parameter is passed with the product’s ID to the product details page.

  • Hide (Boolean)

    Hides or displays the output of the control in design time and run time.

    • True—Hide the control output.
    • False—Display the control output.
  • Language (Integer)

    If the template on which this server control resides includes a language selection control, and you want to let the customer select the language, enter zero (0). Otherwise, click the field, then the ellipsis button () and a popup box appears. Select a language from the list. This property shows results in design-time (in Visual Studio) and at run-time (in a browser).

  • PageSize (Integer)

    Specify the number of items to show per page when a customer views recommendations. If the number of items exceeds the quantity defined in this property, the list is paged and the customer can use the paging navigation system to move through the list.

  • RecommendationType (EkEnumeration.RecommendationType)

    The type of recommendation to show. Choices are:

    • CrossSell—used to help sell additional products that a customer 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 products that improve on the product being purchased. For example, if you are selling 7 megapixel digital cameras, you might want show the customer 10 megapixel digital cameras.

    See Also: Adding Cross Sell and Upsell Recommendations to a Catalog Entry

  • Stylesheet (String)

    Specify the path to a style sheet for use with this server control. The location can be relative or absolute. Leave blank to use the default style sheet. For example: Workarea\csslib\mytest.css.

  • SuppressWrapperTags (Boolean)
  • Suppresses the output of the span/div tags around the control.

    • True—Suppress wrap tags.
    • False (default)—Allow wrap tags.
  • TemplateCart (String)

    The URL to navigate to when a customer clicks Add to Cart. The path can be relative or absolute. When a path is entered, the Add to Cart button appears next to the product and allows a customer to add the product directly to their cart. See Also: Enabling the Add to Cart Button and Cart Server Control.

  • TemplateProduct (String)

    Specify the URL that contains the Product server control. This allows a customer to see the details of the product when the product link is clicked. The path can be relative or absolute.