Quote Originally Posted by novastar View Post
MAJOR problems with this mod. I just realized that the only list that functions correctly is the default list. Does anyone else experience these problems?

2. When ever I try to add an item to the wishlist it will add the item to my cart.

Any help or insight appreciated.
So I have this same issue and here is something I noticed.

In my tpl_product_info_display.php template, I added this code:

Code:
            <!--bof Wishlist button -->
            <?php echo ('<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '">' . zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT) . '</a>'); ?>
            <!--eof Wishlist button -->
next to my add to cart button. It appears exactly where I want it, however when you add to the wishlist, the item gets added to the cart too.

Now, in the readme, there is this code:

Code:
<?php 
// (un): start wishlist link
echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '">' . UN_TEXT_ADD_WISHLIST . '</a>'; 
// (un): end wishlist link
?>
This is pretty much the same code, however instead of a image button, it display the text "Add to Wishlist". THIS WORKS and adds the item to the wishlist and NOT the cart.

So in either case, I can use both pcs of code, but if I use

zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT)

instead of

UN_TEXT_ADD_WISHLIST

it goes to the cart to. (So Image button adds item to cart, text link doesn't)

Next, I enabled the side column module, and that works as it should, but the code (when I view the source of the page) is different, and is in a <form>.

My guess is, using the image button option utilizes input fields of a form, and the store gets confused when the button is pushed and the item goes to both the cart and the wishlist. Is there a way I can just use <img src.....> in place of zen_image_submit(UN_BUTTON_IMAGE_WISHLIST_ADD, UN_BUTTON_WISHLIST_ADD_ALT)???

Any idea why this is. You can see my store here: http://joessecuritydepot.com (It's still in the works, but is active for testing purposes. Any help or suggestions you may have would be greatly appreciated. Thank you.