Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Wishlist 2.0 and STS


StewartKeenan

Recommended Posts

Posted

hi,

 

We have an Oscommerce store that uses Oscommerce STS template version 4.5.5 - with several custom modifications including Ajax Shopping Cart/Add to cart feature, Ultimate SEO URLs, tooltip rollover display for images and featured products tabs content display.

 

 

We have recently installed the "Wishlist 2.0" contribution, and there seems to be some issues with it. We receive an error on our "application_top.php" file that says:

 

Fatal error: Cannot redeclare class wishlist in "/includes/classes/wishlist.php" on line 10

 

 

it seems to be an issue/something to do with this piece of code on line 10 of that class file:

 

class wishlist {
var $wishID;

 

 

 

also...

the other issue we see is on the "product_info.php" page...that when we click the "add to wishlist" button it still adds the product to the shopping cart, and not to the customers wishlist.

 

 

Any help would be really much appreciated.

 

 

 

thanks,

 

Stewart

Posted

hi,

 

We have an Oscommerce store that uses Oscommerce STS template version 4.5.5 - with several custom modifications including Ajax Shopping Cart/Add to cart feature, Ultimate SEO URLs, tooltip rollover display for images and featured products tabs content display.

 

 

We have recently installed the "Wishlist 2.0" contribution, and there seems to be some issues with it. We receive an error on our "application_top.php" file that says:

 

 

 

 

it seems to be an issue/something to do with this piece of code on line 10 of that class file:

 

class wishlist {
var $wishID;

 

 

 

also...

the other issue we see is on the "product_info.php" page...that when we click the "add to wishlist" button it still adds the product to the shopping cart, and not to the customers wishlist.

 

 

Any help would be really much appreciated.

 

 

 

thanks,

 

Stewart

 

I would suggest checking that you have not added the first code edit twice, hence the "cannot redeclare error"

 

For the 2nd problem, recheck your application_top.php against the code edits given in the instructions.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...