Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wishlist error


crash3903

Recommended Posts

I have searched the forum and not found the resolution

 

I have installed the wishlist contribution and it is returning no errors. However when I log in and add a product to my wishlist it takes me to my cart and does not update the wishlist on the left column - it still shows "You have no items on your Wishlist"

 

what is happening here?? :rolleyes:

Thanks for any ideas

 

regards

 

Mark

Regards

 

Mark A Reynolds

Link to comment
Share on other sites

Thanks Jonson

 

I am not really sure what you are saying

 

here is the code for the wish list??

 

<!-- Wishlist //-->

<tr>

<td><br><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="left" class="main"><a href="<? echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td>

<td align="center" class="main"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></form></td>

<td align="right" class="main"><?php echo tep_draw_form('wishlist_quantity', tep_href_link(FILENAME_WISHLIST, tep_get_all_get_params(array('action')) . 'action=add_wishlist')); ?>

<?php if (tep_session_is_registered('customer_id')) echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_wishlist.gif', IMAGE_BUTTON_ADD_WISHLIST); ?>

</form></td>

</tr>

</table></td>

</tr>

<tr>

<td><br>

<?php

//added for cross -sell

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_also_purchased(3600);

} else {

include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS);

}

include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

}

?>

</td>

</tr>

</table></td>

<!-- Wishlist eof //-->

 

any ideas??

 

thanks

Regards

 

Mark A Reynolds

Link to comment
Share on other sites

That looks ok - I take it you have that in product_info.php - the next place to look is application_top.php (action - add_cart, add_wishlist).

 

What version of osCommerce do you have this installed in?

Edited by Johnson
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...