Jump to content
Sign in to follow this  
dookie

Add to Wishlist button

Recommended Posts

Hi,

Just installed Wishlist 4.1 (latest from FIMBLE). Install went fine, however, I noticed that the link to "Add to Wishlist" points to "product_info.php?cPath=24_115&products_id=28&action=add_product" - which is the same as adding a product to the shopping cart.

 

Do you know the true link to add a product to the wishlist?

 

Code in question:

catalog/product_info.php

<td align="center"><?php echo tep_image_submit('button_wishlist.gif', 'Add to Wishlist', 'name="wishlist" value="wishlist"'); ?></td>

 

Many thanks!

Edited by dookie

Share this post


Link to post
Share on other sites
Hi,

Just installed Wishlist 4.1 (latest from FIMBLE). Install went fine, however, I noticed that the link to "Add to Wishlist" points to "product_info.php?cPath=24_115&products_id=28&action=add_product" - which is the same as adding a product to the shopping cart.

 

Do you know the true link to add a product to the wishlist?

 

Code in question:

catalog/product_info.php

<td align="center"><?php echo tep_image_submit('button_wishlist.gif', 'Add to Wishlist', 'name="wishlist" value="wishlist"'); ?></td>

 

Many thanks!

 

Found the fix: add a comma between name="wishlist"' and 'value="wishlist"

 

<td align="center"><?php echo tep_image_submit('button_wishlist.gif', 'Add to Wishlist', 'name="wishlist"', 'value="wishlist"'); ?></td>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×