Jaa


Sequencing products and categories in the Commerce Server Feature Pack

Among the numerous cool features we added in the  Commerce Server Feature Pack, one of them was the ability to sequence products and categories in catalogs. Based on some of the newsgroup posts it turned out that there is some confusion on this feature. While the primary motivation behind this feature was to allow developers to control the display order of child categories and products on your site, it also has some limitations.

You can use this feature to :

  • Sequence child categories and products belonging to a category. You can sequence variants in a product family.
  • The sequencing can be done either by using the new Catalog Manager application or programatically by using the catalog web service.
  • The sequence number for each child item has to be explicitly set by the caller. If not specified the sequence number will default to 0, which can be taken to mean that the product or category is not sequenced. Multiple items can have the same sequence number.
  • When requesting the child categories, child products and variants from the catalog system you can request the recordsets/datasets to be sorted by "Sequence" field.This can be specified by using the CatalogSearchOptions.SortProperty property.For eg.  catalogSearchOptions.SortProperty = "sequence";  If no sort order is specified then these recordsets/datasets will be sorted by the "Sequence" field in the ascending order.

Now to the limitations of this feature:

  • Only child categories, child products and variants in base catalogs can be sequenced.
  • Sequencing of root categories and root products in base catalogs is not supported
  • Sequencing is not supported in virtual catalogs at all.
  • Sequencing can be done either by using the Catalog Manager UI or programatically using the catalog web service. The ability to do sequencing is not provided in the catalog COM objects.

While we do understand the impact of the limitations of this feature, we are doing everyting we can to address them in future release.

Comments

  • Anonymous
    August 11, 2005
    When looking at the catalog hierarchy table, the rank is set to 0 until you modify the rank using Catalog Manager.
    Is there a method/function that can be run to take the order that is seen by default in Catalog Manager and set the "rank" column to a non-zero value?

    Thanks!
  • Anonymous
    September 15, 2005
    Vinayak,

    We are developing a new CS 2002 commerce site for one of our new product lines. We would like to develop in parallel a CS 2006 site to take advantage of our .Net 2.0 business objects we have developed.

    We were at the TechEd this year, but failed to obtain a copy of the CS 2006 CTP. Do you know how I could obtain a copy. I am a MSDN Universal subscriber as well.

    Thanks,

    Jason Stevenson
    stevensonj@hnicorp.com
  • Anonymous
    May 29, 2006
    A while back I had written about sequencing products and categories in the feature pack and mentioned...
  • Anonymous
    May 29, 2006
    A while back I had written about sequencing products and categories in the feature pack and mentioned...
  • Anonymous
    June 08, 2009
    PingBack from http://hairgrowthproducts.info/story.php?id=6282