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?
Wishlist button outside of BuyProductDialog
-
- Commander (CMDR)
- Posts: 118
- Joined: Sat Dec 20, 2008 11:27 pm
Re: Wishlist button outside of BuyProductDialog
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.
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
Thanks for your suggestion, but the CSS code you provided is not doing anything on my site.