Page 1 of 1

How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 4:09 am
by waltersnowslin
Hi Friends..,
I want anyone to help me out in bringing a WishList Button beside AddToCart Button, where ever AddToCart is Visible.. :roll:

Thanks,
Walter.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 4:30 am
by mazhar
Edit ConLib/AddToCartLink.ascx control page and then put WishList support in this control. It will make it available across the store.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 4:48 am
by waltersnowslin
Thanks for that aid, but adding a WishList would disturb the code-behind of that .ascx file.
can anyone assist me for the code-behind part.


Thanks,
Walter.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 5:00 am
by mazhar
Here is the modified control

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 5:06 am
by waltersnowslin
Thanks a lot dude., "ll try out this, and let you know..

Thanks,
Walter

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 6:05 am
by waltersnowslin
Hi Yoda, you a real master, its working perfectly..

Thanks,
Walter.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 6:24 am
by waltersnowslin
Hey People,
I got another issue. now the WishList Button is Visible in the Grid, But i wanna hide it, when "details Button" is Active..

Thanks,
Walter.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 6:33 am
by mazhar
The modified control I posted take care of this thing. Have you noticed that when more details option is visible then wishlist button disappears.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 6:54 am
by waltersnowslin
Yeah! But what you said is not happening :cry:

Thanks,
Walter.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 6:57 am
by mazhar
Its working for me check following snap, did you made any change to control.

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 6:59 am
by mazhar
Make sure that in Page_PreRender method you got following statement

Code: Select all

AddToWishlistButton.Visible = AC.Visible;

Re: How to Add WishList in the ProductGrid

Posted: Wed Jul 22, 2009 7:08 am
by waltersnowslin
Yes dude., now it works perfect., itz bcuz the above line was missing.,
Thanks Yoda Master.., :D