TIP: Prevent the Top Sellers from showing in Shopping Bar 1

This forum is where we'll mirror posts that are of value to the community so they may be more easily found.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

TIP: Prevent the Top Sellers from showing in Shopping Bar 1

Post by AbleMods » Tue Jan 29, 2008 7:15 pm

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.

Code: Select all

[[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.

Done!
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply