Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wishlist V1.1


garyw74

Recommended Posts

I keep running into problems with this, can anyone point me in the right direction.

 

1)

 

In the instructions is ask to add the following line to column_right.php:-

 

//added for wishlist

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'wishlist_history.php')

 

I THINK THIS SHOULD BE :--

//added for wishlist

if (tep_session_is_registered('customer_id')) include

(DIR_WS_BOXES . 'wishlist.php')

 

2)

 

Also after adding the sql file to my database I get the following error when running the contribution:

 

1146 - Table 'catalog.wishlist_products' doesn't exist

 

select * from wishlist_products WHERE customers_id=175

 

[TEP STOP]

 

Is their another typo somewhere or am I missing something

 

Thanks in advance

Link to comment
Share on other sites

Thanks

yup, done that, that seems to of eliminated one error message, any clues on the database error ??

 

1146 - Table 'catalog.wishlist_products' doesn't exist

 

select * from wishlist_products WHERE customers_id=175

 

[TEP STOP]

 

This is the sql file contents

 

CREATE TABLE customers_wishlist (

products_id int(13) NOT NULL default '0',

customers_id int(13) NOT NULL default '0',

products_model varchar(13) default NULL,

products_name varchar(64) NOT NULL default '',

products_price decimal(8,2) NOT NULL default '0.00',

final_price decimal(8,2) NOT NULL default '0.00',

products_quantity int(2) NOT NULL default '0',

wishlist_name varchar(64) default NULL

) TYPE=MyISAM;

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...