Hopefully I can shed some light. I have had projects where I have completely rewired cart.php, but it has changed since then.
see this?
Code:
include $xcart_dir . '/modules/Wishlist/wishlist.php';
Skimming through cart.php, it looks like things are "settling down" around line 591. This might be a good area to look at poking your code in.
Start experimenting! what happens if you simply include the wishlist.php down there?
If that fails crack open wishlist.php and see how it generates the variable array. Try simply copy pasting this code in and assigning the variable. PHP is not rocket science, but it is hard to get started with it if you are new. The best way to learn I have found, is to experiment.
Another file to look in: include/func/func.cart.php
I got lots of hits for "wishlist" from that file. I won't code this for you for free, but I will certainly help you to do it! The more you analyze what is happening in the logic, the better overall understanding you will have. Don't discount sections of the code because they don't apply to what you are doing, try to read and understand them as best you can. Sooner or later you will start connecting the dots and having "aha" moments.
