Hello VM fans,
This hack is based off the original wishlist hack by KMAN for vm1.0
I've modified the orginal hack, and added to it, to work for vm1.1 (vm1.1.4 tested) with J1.5 (J1.5.15 tested).
This was kind of a rush job. There are a few non XHTML vaild lines (missing alt or title attributes).
I did this hack revision after purchasing two different wishlists and was very unsatisfied.
This wishlist system is a hack to the core, but overall, the core hacks are minor, and are commented (search for "wishlist" in core hacked files if necessary). It includes a module as well, which installs via the regular Joomla mod install.
| |
Wishlist system:
1. Logged in users can create wishlists.
2. Users can add items to wishlists via flypage, right next to add-to-cart-button. This is the only place it makes real sense other than also on the cart page.
3. Users can use an entire cart to create or add to wishlist. That's right! Unlike other wishlists, users can just add all their items in a cart to a new or already created wishlist in one click! Button right under the cart so easily visible.
4. Users can share, via an email system, with non-registered users the items they have added to wishlists. Multiple emails per share.
5. Users can create UNLIMITED public and private wishlists. Wishlists become public when users share wishlist via email.
6. Users can delete, modify, share, unshare wishlists.
7. Wishlists are stored in database for user / visitor retrival at any time.
8. Wishlists show image of items, not just name.
9. Users may access wishlists anywhere on site via the module.
10. Users/visits can add singular products to cart from wishlist, or the entire wishlist to cart with one click.
11. Users can adjust wishlist quantities, add, or alter products & quantities at anytime.
12. Only wishlists system with VM admin panel for administrator review of wishlists, popular wishlist products, users using wishlists, etc.
Screenshots of admin panel wishlist tab Most Common Wishlist Items:
Screenshots of admin panel wishlist All Users for this Item:
Screenshots of admin panel wishlist tab All Wishlist from Users:
Screenshots of admin panel wishlist Specific Wishlist of User:
That's about it! PLEASE POST ANY ISSUES HERE.
Please post any feedback as well.
NOTE: If you are using VM router.php for SEF, you will want to make some additions to it for proper SEF functioning. Post questions here if you need help.
NOTE: ps_wishlist may need to be altered if you are having an array problem. While I didn't take the time to carefully fugure out why, it seems to be a PHP version issue with earlier php. Symptoms are what Roderick1 had with no product images and names being carried to wishlist.
http://forum.virtuemart.net/index.php?topic=66530.msg226992#msg226992UPDATE: Now v1.2 -> For SSL users (https)
- Fixed error of non-registered users not being able to see sent wishlists.
- Fixed email template for sharing wishlists.
- Fixed login forms to include "Register" link, should users want to register.
- Made login forms look the same.
- Fixed public wishlist item template to look same as other item templates (100% width on table)
- Files changed:
- components/com_virtuemart/themes/vmj_genx/templates/wishlist/public/wishlist_item_list.php
- components/com_virtuemart/themes/vmj_genx/templates/wishlist/emails/email_english.txt
- administrator/components/com_virtuemart/html/wishlist.index.php
- administrator/components/com_virtuemart/html/wishlist.save_cart.php
- administrator/components/com_virtuemart/html/wishlist.share.php
UPDATE: Now v1.3 -> For NON-SSL (http) or SSL (but not forced)
- Only download this version if you do not have SSL (https) and don't want to force the use of https during login or registration. My previous version used JRoute with SSL forced on, and for those without SSL, this will cause it not to work.
- Files changed are:
- modules/mod_vm_wishlist/mod_vm_wishlist.php
- administrator/components/com_virtuemart/html/wishlist.add_item
- administrator/components/com_virtuemart/html/wishlist.index.php
- administrator/components/com_virtuemart/html/wishlist.save_cart.php
- administrator/components/com_virtuemart/html/wishlist.share.php
UPDATE 03-07-10: Download v1.4
- Minor Update; Just added files in .zip to uninstall wishlist easily. IE: Included original VM files, and an uninstall.sql
- Files changed are:
- No files changed, just added an uninstall folder and files
UPDATE 03-14-10: Download v1.5
- Fix: URL redirect issue on 2 forms
- Files changed are:
- administrator/components/com_virtuemart/html/wishlist.index.php
- administrator/components/com_virtuemart/html/wishlist.add_item.php
UPDATE 03-17-10: Download v1.6
- Fix: templates for wishlist items was not getting correct image folder for add/delete/update buttons
- Addition: Added updated router.php for those of you using router.php for SEF. router.php needs added functions to create proper SEF links. Please read README in file.
- Files changed are:
- components/com_virtuemart/themes/defalut/templates/wishlist/private/wishlist_item_row.php
- components/com_virtuemart/themes/defalut/templates/wishlist/public/wishlist_item_row.php
- README.txt
UPDATE 03-21-10: Download v1.7
- Fix: Module link to Wishlists wasn't fully functional with SEF on
- Fix: Found another 2 potential redirect errors based on Itemid missing
- Fix: Non-Admin users cannot see or add products to cart that are UNPUBLISHED
- Addition: Added price field in wishlist items templates, correctly reflecting user group price and discounts.
- Addition: Added description field in wishlist items templates
- Addition: Added short description field in wishlist items templates
- Addition: Second wishlist items templates (public & private) to support new template field options
- Addition: Added support for Ajax Add-To-Cart on wishlist items pages (if enabled in VM config)
- Addition: Added Add-To-Wishlist for Category browse items
- Addition: Added css class="wishlist_button" to browse and flypage links so you can format your look via css easily.
- Files changed are:
- all files changed, except SQL
UPDATE 04-04-10: Download v1.8
- Fix: Update/Delete buttons not working
- Fix: Missing icon for wishlist admin page headers
- Fix: Incorrect list count on admin wishlist lists page causing faulty multi-page navigation
- Fix: Added correct "Out of Stock" prompt when product check stock enabled and out of stock item is tried added.
- Addition: Access to user details from admin wishlist lists
- Addition: New admin reporting form, listing user names and emails for each wishlist item
- Addition: When adding item to wishlist, "Continue Link" now appears in wishlist returning user to category of added item. Just add {continue_link} in your private wishlist_item_list.php template.
- Files changed:
- administrator/components/com_virtuemart/html/wishlist.add_item.php
- administrator/components/com_virtuemart/html/wishlist.index.php
- administrator/components/com_virtuemart/html/wishlist.list.php
- administrator/components/com_virtuemart/html/wishlist.reports.php
- administrator/components/com_virtuemart/classes/ps_wishlist.php
- administrator/components/com_virtuemart/languages/common/english.php
- components/com_virtuemart/themes/default/templates/wishlist/private/wishlist_item_list.php
- Files added:
- administrator/components/com_virtuemart/html/wishlist.list_users.php
- components/com_virtuemart/shop_image/ps_image/wishlist.png
UPDATE 05-07-10: Download v1.9
- Addition: Added print page function on wishlist items page(s).
- Addition: Module change; Added ability for user to re-visit a sent wishlist from wishlist mod. In other words, if a visitor has entered the site through a "shared wishlist link", they may access that wishlist again from the wishlist mod during that session.
- Files changed are:
- administrator/components/com_virtuemart/html/wishlist.index.php
- administrator/components/com_virtuemart/languages/common/english.php
- components/com_virtuemart/themes/defalut/templates/wishlist/private/wishlist_item_list.php
- components/com_virtuemart/themes/defalut/templates/wishlist/public/wishlist_item_list.php
- modules/mod_vm_wishlist/mod_vm_wishlist.php
- router.php
UPDATE 10-15-10: DUTCH TRANSLATION of wishlist for VM 1.1.5
Please take a minute of time to leave a review here: http://extensions.virtuemart.net/index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=6&sobi2Id=331&Itemid=If you like or found useful, please donate at http://www.paypal.com to forrestchamberlain@hotmail.com[attachment cleanup by admin]