Page 1 of 1

Question about shopping bar 1 sidebar

Posted: Sat Dec 01, 2007 4:14 pm
by AbleMods
While doing some tweaks with the site layout, I noticed something that confuses me.

Currently my Shopping Bar 1 sidebar displays a mini basket, a top sellers section and a recently viewed section.

Shopping Bar 1 contacts ConLib references to minibasket and recentlyviewed. There is no reference to a ConLib for top sellers.

Where's top sellers coming from??

Posted: Sat Dec 01, 2007 5:19 pm
by Shopping Cart Admin
Hello Joe,

It's the default for the mini-basket when it's empty, if nothing else is specified.
MiniBasket
Summary:Display the contents of items in basket. Can be used in side bars.

Usage: [[ConLib:MiniBasket AlternateControl="PopularProductsDialog.ascx"]]

Properties:
AlternateControl
A control that will be displayed when basket is empty.

Posted: Sat Dec 01, 2007 5:29 pm
by AbleMods
I understand now, thank you.

So TopSellers isn't a separate ConLib control?

Maybe that could be split that out somewhere down the road so the development side is consistent. Definitely back-burner stuff.

Posted: Mon Dec 03, 2007 3:36 am
by sohaib
So TopSellers isn't a separate ConLib control?
It is.
PopularProductsDialog.ascx can be used separately as well.

Posted: Mon Dec 03, 2007 5:46 am
by AbleMods
Excellent, good to know. Thanks!

Posted: Fri Dec 07, 2007 2:49 pm
by Erwin
Shopping Cart Admin wrote:Hello Joe,

It's the default for the mini-basket when it's empty, if nothing else is specified.
MiniBasket
Summary:Display the contents of items in basket. Can be used in side bars.

Usage: [[ConLib:MiniBasket AlternateControl="PopularProductsDialog.ascx"]]

Properties:
AlternateControl
A control that will be displayed when basket is empty.
Is there a way to make nothing appear if there is nothing in the basket?
Maybe: [[ConLib:MiniBasket AlternateControl=""]] ???

Re: Question about shopping bar 1 sidebar

Posted: Tue Feb 10, 2009 6:33 am
by europhile
Good one Erwin (and Joe for raising it), don't know if that [[ConLib:MiniBasket AlternateControl=""]] worked then, but it does nicely now - for anyone else like me desperate to get rid of the huge line of products in the sidebar!

Re: Question about shopping bar 1 sidebar

Posted: Tue Feb 10, 2009 7:05 am
by europhile
One more useful thing, scanning the apsx show that eg. [[ConLib:RecentlyViewed MaxItems="3"]] can be used to control the list further 8)

Re: Question about shopping bar 1 sidebar

Posted: Tue Feb 10, 2009 7:33 am
by jmestep
On recently view items, I retained only the link in my control so that I can still have a longer list but it doesn't take up much room.

Re: Question about shopping bar 1 sidebar

Posted: Tue Feb 10, 2009 7:45 am
by europhile
Good idea, cheers Judy! A bit more customisation but I guess just removing the image will do fine, will prob give that a go! Phil.