Quote Originally Posted by nagelkruid View Post
This is what it should be:
PHP Code:
<!--bof Wishlist button -->
<br class="clearBoth" />

<?php if (UN_MODULE_WISHLISTS_ENABLED) { 
            if    ( 
$_SESSION['customer_id'] ) {
                echo 
'<div id="productWishlistLink" class="buttonRow back">';
                echo 
zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADDUN_BUTTON_WISHLIST_ADD_ALT'name="wishlist" value="yes"'); 
                echo 
'</div>';
            } else {
                echo 
'<div>';
                echo 
UN_BOX_WISHLIST_LOGIN_TEXT;
                echo 
'</div>';
            }
         } else {} 
         
?>
<!--eof Wishlist button -->
If that doesn't work, it is something else you need to fix.
The other thread may be read better, if the problem persist, you may get better response there.
Hi thanks so much for your answer. Unfortunately that gives this result: Click add to cart, product is added to cart. Click add to wishlist, product is added to cart.

When I turn off the css buttons, your code works fine. So it has something to do with the css buttons, I think. I'd rather lose the css buttons than lose the wishlist :)

So I'll go and make myself a pretty set of buttons now, as I don't know any other options to try.

Thanks for your help

Heather