garyw74 Posted November 10, 2002 Posted November 10, 2002 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 Quote
Guest Posted November 10, 2002 Posted November 10, 2002 You add this //added for wishlist if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'wishlist.php') Quote
garyw74 Posted November 10, 2002 Author Posted November 10, 2002 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; Quote
garyw74 Posted November 10, 2002 Author Posted November 10, 2002 Fixed the database error. but...... The wishlist box now doesnt display on the page and when you click on add to wishlist it adds the item to the shopping cart......... Quote
Guest Posted November 11, 2002 Posted November 11, 2002 It should be this //added for wishlist if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'wishlist.php') Quote
Guest Posted November 13, 2002 Posted November 13, 2002 /This is the correct info /added for wishlist if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'wishlist.php') Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.