Prevent the Top Sellers from showing in Shopping Bar 1

From AbleCommerce Wiki
Revision as of 11:34, 14 August 2008 by Mazhar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There is a hidden trick you can do to prevent the Top Sellers box from displaying with the minibasket. In case you didn't realize, the Top Sellers control is a separate user control but it automatically appears whenever the MiniBasket control is used. This is the default for the AC7 sidebar Shopping Bar 1.

But like many other AC7 features, you do have some options. You can substitute a different control to display by using the syntax described in the ConLib Reference help.

Or, you can trick MiniBasket into not displaying either the default control or an alternate control. Just use this syntax in your Shopping Bar 1 scriptlet.

     ConLib:MiniBasket AlternateControl=""

The MiniBasket control will only display the alternate/additional control if the parameter has a value. Setting the parameter to blank prevents both from showing.