I am trying to find a way of ranking variants so they appear on the UI in
the
order they are sequenced in the catalog.
I am using a ProductConfiguration instance to specify the variant
properties
to return and have tried setting the
ProductConfiguration.Variants.SearchOptions.SortProperty to Rank.
This throws an exception stating "Rank property cannot be used when
searching across multiple categories". I am returning one product
configured
to return the variants of the product so do not see how I am searching
across
categories.
Any help on this would be much appreciated.