Thread: wishlist help
View Single Post
  #6  
Old 09-28-2011, 06:30 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: wishlist help

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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote