Search Descriptions Version
 
 
This article applies to:

Featured Products Installation Instructions & User Guide For ADNSF Version 8.0.1.2 Through 9.4.0.0


Introduction

Thank you for purchasing Featured Products. Featured Products is a great way to showcase products.

This versatile XML Package displays featured products on the home page, category page, or wherever you place the featured products token. This package has many different configuration options that give you more control over the display of your products.

Before You Begin

  • You will need a basic knowledge of the following concepts:
    • FTP (File Transfer Protocol)
    • HTML
    • The AspDotNetStorefront administration area.
  • You will also need admin access to your website
  • You will need FTP access to your website.

Installation

Follow these instructions to install your Featured Products.
  1. Use FTP to connect to your website.
  2. Place featured.xml.config in the XmlPackage folder on your website.
    • Example: {root}/XmlPackages/featured.xml.config.
  3. Place simpleaddtocartform.xml.config in the XmlPackage folder on your website.
    • Example: {root}/XmlPackages/simpleaddtocartform.xml.config.
  4. Place featuredstyles.css in the Skin folder that your site uses.
    • Example: {root}/skins/Skin_X/featuredstyles.css
  5. You will need to add a <link> tag to the <head> section of your template.
    • Typical template location: {root}/skins/Skin_X/template.ascx
      Example HTML Code:
      <head>
      <link rel="stylesheet" href="skins/Skin_1/featuredstyles.css" type="text/css" media="all" />
      </head>
  6. That's it! The XML Package is installed. Now let's go over how it is used.

Using the featured products package

This XML Package is very versatile. You can feature products on your home page, category page, or topic page. You can call the XML Package from a topic or the template or even another XML Package. You can list products from a category or department or manufacturer or you can specify by product ID exactly which products you would like displayed. This guide will cover featuring products from a featured category on the home page as well as displaying specific products in a category page description.

Displaying products from a category on the homepage

  1. Login to the admin console of your website and create a featured products category if you don't already have one. Make a note of the Category ID as you create this category. Map the products that you would like to display as featured products to this category. If you do not want this category to show in your site's navigation I would recommend unpublishing this category once you've finished mapping products.
  2. Navigate to your topic editing screen and make a backup of the home page topic (usually called "hometopintro"). Make a backup by putting the editor into HTML mode (hit the <> button) and copying all of the HTML out of the topic into a text file on your computer. This way you can restore your home page if anything goes wrong.
  3. With the editor in HTML mode, add the following XML Package token to your home page topic where you would like to display your featured products.
    (!XMLPackage Name="featured.xml.config" featuredentityid="REPLACEME" featuredentitytype="category" headertext="Featured Products" numberofitems="4" columns="4" showprice="true" !)
  4. Replace the REPLACEME text with the Category ID of the category that you created in step 1 for the featuredentityid parameter.
  5. Enter the number of items and the number of columns you would like them to display in.
  6. Save the home page topic.
  7. Have a look at your home page to see your featured products. See all the configuration options in the Configuration Settings section.

Displaying specific products on a category page description

  1. Gather a list of products that you would like to display, and make note of their product IDs.
  2. Navigate to the category editing screen and open up the description tab.
  3. Make sure that the HTML Editor is in HTML mode (hit the <> button).
  4. If you have a complicated HTML description I recommend making a backup of the HTML that's in there by copying and pasting the HTML into a text file on your computer.
  5. With the editor in HTML mode, add the following XML Package token to your category description where you would like to display your featured products.
    (!XMLPackage Name="featured.xml.config" usecommadelimitedproductlist="true" commadelimitedproductlist="1,2,3,4" headertext="Featured Products" numberofitems="4" columns="4" showprice="true" !)
  6. Modify the commadelimitedproductlist parameter to include the product IDs of the products you would like to feature.
  7. Save the category description.
  8. That's it, you're done. Have a look at the category description on the front end of your website.

Configuration

Configuration OptionDescriptionDefault
featuredentityidThis is the entityid of your featured products entity. For example "33". This parameter is required unless you use the comma delimited product list. N/A
featuredentitytypeThe type of entity to use. Example: "category" or "section" or "manufacturer". category
usecommadelimitedproductlistWhether or not to use the comma delimited product list. If this is set to true featuredentity settings are ignored. Accepted values are "true" or "false".false
commadelimitedproductlistThe specific products you want to feature. These override the entity products. You can't do both. For Example "1,2,3,4,5"N/A
headertextThe text that shows up in the header.Featured Products
numberofitemsThis is the number of items to show4
columnsThis is the number of columns in the featured products grid.4
showpriceCan be true or false. Determines whether the product's price is shown.false
showcartformDetermines whether the add to cart form is shown. If shown, the quantity text field, add to cart button and add to wish list button will display. The wish list button will not display if the appconfig parameter ShowWishButtons is set to false. If a products inventory is zero, the cart form will not display for that item. Also, if the product is a kit, pack or has colors or sizes, a Details button will display instead taking the user to the product page. Accepted values are "true" or "false".false
randomorderWhether or not to randomize the order of products. "true" or "false"false
mininventorylevelIf you would like to show only featured products that have and inventory of 10 or more you could set this value to 10.1

Appendix

Calling the featured products package from another Xml Package

Copy the example code below and replace the "REPLACEME" text with the value you want to specify for the featuredentityid parameter.

<xsl:value-of select="aspdnsf:XmlPackage('featured.xml.config', 'featuredid=REPLACEME&featuredentitytype=category&headertext=Featured Products&numberofitems=4&columns=4')" disable-output-escaping="yes" />

Support

If you have further questions or comments, please feel free to contact our help desk.