Jump to content

dblake

Members
  • Content count

    841
  • Joined

  • Last visited

Everything posted by dblake

  1. I have been working this when I can and I finally have something to put up for testers and for additions to be added. I have re-wrote the code so this is not an update for 2.4. You will need to uninstall the older version and install this one. Features: 1. Optimized queries down to 1-2 per product depending on attributes or not. 2. Attributes now work correctly, you can add the same product with different attributes and it will show up correctly on your wishlist. 3. If a user is not logged in and they press "Add to Wishlist" then the product id is stored throughout there logging or creating an account. Once there done it will add to there wishlist. 4. Added in the capability to redirect back to the products page or stay on the wishlist page when a user pushes the add to wishlist button. Setting done in admin. 5. Combined the email functions into the main wishlist page. Added in mulitple emails the user can send to. The number is editable through the admin settings. 6. Added a public_wishlist view instead of emailing products through email, it just emails them there unique link. The public wishlist will only allow the user to view and add to cart from that list. They will not be able to delete. For security measures. 7. When a user adds an item from there wishlist, it displays "Item in Cart" instead of removing it from the wishlist. Once a user checks out, it will check to see if they are buying anything from there wishlist and at that point remove it. I did this just in case someone added a product to their cart and for some reason didnt check out. 8. Removed all that crap in application_top and just added about 5 lines to it to keep more of the code separate from osc. Other updates and changes as well. I have not created a wishlist_help.php file so if someone would like to create that, then by all means. Let me know of any problems you run acrossed and let me know of anything that needs to be added. This is not final so don replace your exisiting one until we work out any kinks. Download here: http://www.oscommerce.com/community/contributions,1682/ -Dennis
  2. dblake

    Wishlist 3.0 Support Thread

    This is the Wishlist 3.0+ thread. I suggest installing the latest version of that which the last one I put out was 3.5d.
  3. dblake

    Wishlist 3.0 Support Thread

    Change 'p.products_id' to 'pd.products_id' in the query that is erroring. Some people's MySQL's are setup differently and when i did this 2-3 years ago, I didn't take that into consideration. Dennis
  4. dblake

    Wishlist 3.0 Support Thread

    Just comment the lines that were put into the checkout_process.php page. Thats what removes the items from the user's wishlist.
  5. dblake

    Wishlist 3.0 Support Thread

    Wow its amazing people are still using the wishlist. I figured OSC would have created a new version and made this contribution absolute. :)
  6. dblake

    Will Paypal IPN contrib solve this ?

    $1000 says you have the main file as your language file. So when the language file is included it is also including app top again because you uploaded the wrong one. Any takers?
  7. dblake

    Wishlist 3.0 Support Thread

    It's supposed to work like that. Just look in the wishlist.php page and comment out the check to see if the product_status is sold out or w/e and just don't do that part. I commented the code pretty good, you should be able to see where the checkbox is displayed and where its not. Just make it only display.
  8. dblake

    Wishlist 2.0 Support Thread

    =) Nice, yea thats how I learned php LOL. Have fun!
  9. dblake

    Wishlist 3.0 Support Thread

    Yea can't remove it. If you have "1 of a kind" products then when you delete that product out, since it will never be sold again. It will automatically get deleted from everyone's wishlist. As far as admin reports, I didn't build that so I dunno.
  10. dblake

    Wishlist 3.0 Support Thread

    Your not getting your "wishlist" variable. Make sure the button's name and value are correct on product_info.php. You have register globals off? That could be another issue not sure... Anyway I have to go out. But your problem lies in there. Paste your findings, productinfo.php and applicationtop and I'll review it when I get back.
  11. dblake

    Wishlist 3.0 Support Thread

    This is how it works... The wishlist code HAS to be before the shopping cart actions in order to work. When a user presses the Add to Wishlist button, it "sets" a $_POST variable with a value. The code in app_top checks to see if that variable "isset" and is the correct value. Add this: print_r($_POST); exit(); After the wishlist actions, BEFORE the shopping cart actions. That will print out the post array to the screen and see if your getting your values. Save your app_top with the new code while your on the product_info page then click the add to wishlist button. Paste me the output. -Dennis
  12. dblake

    Wishlist 3.0 Support Thread

    Sounds like you didnt make the correct changes to application_top.php OR you have CSS buttons installed and didn't search for that answer ;)
  13. dblake

    Wishlist 3.0 Support Thread

    Well to solve it, I would recommend installing a phpmailer class that sends/formats the emails for you. Its easy to implement and you can just change the wishlist page to use it. It sends all the "appropirate" headers out and makes it easy for mostly all email clients to display. -Dennis
  14. dblake

    Wishlist 3.0 Support Thread

    Thats the email receiving program. I think aol doesn't hotlink, there may be some others. Try a different email client. Thats on the users end not the code in.
  15. dblake

    Wishlist 3.0 Support Thread

    Dunno I haven't touched this contribution in months, people could have messed it up along the way, I do know it worked when I upped it originally.
  16. dblake

    Wishlist 3.0 Support Thread

    Only if the user purchases the item themselves. What your talking about is a gift registry, where someone else can buy the item for you.
  17. dblake

    Wishlist 3.0 Support Thread

    Read the instructions again...
  18. dblake

    Wishlist 3.0 Support Thread

    Apparently your missing the count_wishlist function. Get it added to the wishlist class. No idea how its missing from the latest files (or if it is).
  19. dblake

    Wishlist 3.0 Support Thread

    Sean, I am using firefox and when I click add to wishlist, it just adds to shopping cart. You have some code messed up somewhere. I didnt look at your posted code sorry... Side note, if your getting blank pages then I suggest turning error checking on for php. John, please be more specific. The wishlist contribution does not remove the item from your wishlist until you purchase it. If you wanted to change the name of the item and add "From Wishlist" to the product name, you could just do a check to see if this product is in your wishlist and have the name changed if it is. That's the cheap way of doing it, let me explain. If you add a product from the wishlist to your cart it would show "Added from wishlist" -- BUT -- if you added the product from the product page and the product was also in your wishlist, it would say the same thing. So in "theory" it wasn't added from the wishlist. Making sense? I would do like I suggested and just add in "A wishlist item" or something like that. Good Luck Dennis
  20. dblake

    Wishlist 3.0 Support Thread

    LOL I guess I should of checked this thread first ;). Shoot me a url through pm. -Dennis
  21. dblake

    Wishlist 2.0 Support Thread

    I didnt do 2.4 I did 3.x. The code in 2.4 is crappy and from looking at that I would rewrite that whole query and left join the table products_desc.. into the query and use the osc fucntions calls to the db and not the actual mysql calls. Get 3.x working as it runs better and is "guest enhanced" which means guest can use the wishlist and when they signup it transfers to their permanent wishlist. Another feature to get them to signup, allow them to use it but it don't save unless they signup ;). But they can still email it to their friends. Good luck.
  22. dblake

    Wishlist 2.0 Support Thread

    Make sure the doc type matches all your other pages doc type.
  23. dblake

    Wishlist 2.0 Support Thread

    I dont support 2.0 and suggest going back to 3.x and your blank page prob I would turn on your php/apache error checking or have your server company turn it on as it seems it's turned off if you getting blank pages. Also have you viewed the page source? Maybe your redirects aren't working propery? I'm pretty sure I uses super globals so if register globals is off, it should still work propery, something to check anyway. Installation error? Could be any number of things... -Dennis
×