I'm looking now for a while but I can not find any solution. The Magento wishlist allways replacing the existing wishlist item with the newly added item.
SELECT * FROM wishlist_item WHERE wishlist_id LIKE 4578
shows allways only one Item.
the part in which the addurl is generated:
app\design\frontend\[mytheme]\default\template\catalog\product\view\addto.phtml
<?php
$_product = $this->getProduct();
$_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product);
?>
<ul class="wishlist-recommend-links">
<?php if ($this->helper('wishlist')->isAllow()) : ?>
<li>
<a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="add-to-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
</li>
<?php endif; ?>
<li>
<a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" class="recommend fancybox" data-type="iframe" data-fancybox-width="480" data-fancybox-height="90%"><?php echo $this->__('Recommend product') ?></a>
</li>
</ul>
the part in which the wish list will be displayed:
\app\design\frontend\[mytheme]\default\template\wishlist\item\list.phtml
<?php
$columns = $this->getColumns();
?>
<table class="data-table cart-table" id="wishlist-table">
<thead>
<tr>
<?php foreach ($columns as $column): ?>
<th><?php echo $column->getTitle();?></th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php if (count($this->getItems())): ?>
<?php foreach ($this->getItems() as $item): ?>
<tr id="item_<?php echo $item->getId();?>">
<?php foreach ($columns as $column): ?>
<td><?php $column->setItem($item); echo $column->toHtml($item);?></td>
<?php endforeach; ?>
</tr>
<?php endforeach ?>
<?php else: ?>
<td colspan="<?php echo count($columns);?>" class="wishlist-empty"><?php echo $this->__('This Wishlist has no Items');?></td>
<?php endif; ?>
</tbody>
</table>
<?php foreach ($columns as $column): ?>
<?php echo $column->getAdditionalHtml();?>
<?php endforeach; ?>
<script type="text/javascript">
//<![CDATA[
decorateTable('wishlist-table');
<?php foreach ($columns as $column): ?>
<?php echo $column->getJs();?>
<?php endforeach; ?>
//]]>
</script>
Does anyone have the same problem and possibly a solution for this?