With this little add this contribution will also delete the user wishlist content (contribution: http://www.oscommerce.com/community/...earch,wishlist)
You need to add the code:
tep_db_query("delete from " . TABLE_WISHLIST . " where customers_id = '" . tep_db_input($customers_id) . "'");
$wishList->reset();
in account_delete_process, Before:
tep_redirect(tep_href_link(FILENAME_ACCOUNT_DELETE _SUCCESS, '', 'SSL'));
The ZIP file contains the modified account_delete_process.php file.
More...





LinkBack URL
About LinkBacks









Bookmarks