well compared your code to what i finally got to work and noticed that the line that said echo....text in yours and the others is just a repeat of the upper code.
I tried your code in 1.3.9h and it worked up to the point that both wishlist and add to cart both got sent to cart.
This is the code that I have now that is behaving properly, the add to cart whether logged in or not goes to cart and the wishlist makes you log in prior to adding it to the list.
The message stack does not appear becasue it goes straight to the cart.
Thank you for you help it did help tremendously
Code:
<!--bof Wishlist button -->
<?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_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"');
echo '</div>';
} else {
echo '<div>';
echo zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT, 'name="wishlist" value="yes"');
echo '</div>';
}
} else {}
?>
<!--eof Wishlist button -->
Bookmarks