Page 1 of 1

Wishlist button outside of BuyProductDialog

Posted: Fri Apr 22, 2011 1:57 pm
by webmaz
How can I place a Wishlist button somewhere outside of BuyProductDialog.ascx?
I'd like to have the add to cart button and the rest of the content in the BuyProductDialog at the top of the Show Product 1 layout and then place only the wishlist button near the bottom of the page.

Is this possible?

Re: Wishlist button outside of BuyProductDialog

Posted: Sun Apr 24, 2011 6:51 pm
by euroluxantiques
For our site, I didn't want to show the Add to Wishlist button at all. Using the same concept, you could move it wherever you want using css. Example:

table.buyProductForm input[value="Add to Wishlist"]
{
position:relative;
top:100px;
left:100px
}

Change the top and left parameters to position the button where you want. The css position:relative means that the button will be positioned RELATIVE to where it otherwise would have been. Play around with this, and I think you should be able to do what you want with it.

Re: Wishlist button outside of BuyProductDialog

Posted: Mon Apr 25, 2011 10:45 am
by webmaz
Thanks for your suggestion, but the CSS code you provided is not doing anything on my site.