I'm beginning work on a module to provide wish list/gift registry functionality to Ubercart. I'd appreciate comments or questions about its design so that it can be a useful contribution to the Drupal community.
As I see it, the module would add these features to Ubercart:
1. Users could save products to wish lists as they now add products to shopping carts. An 'add to wishlist' button would be added in the same places as the 'add to cart' button appears. Users could also view and modify their wishlists as they view and modify the shopping cart.
2. Users could send e-mails notifying others about their wishlist.
3. Wishlists could be located by searching for the user by name (also, by link from the notification e-mail). When an item from a wishlist is purchased, the customer and time are recorded. The customer can send the gift to either the wishlist owner's address or to himself.
I anticipate reusing some of the uc_cart code, and using a database schema like:
{uc_wishlists}
wid (int) -- wishlist id
uid (int) -- user id
title (text) -- wishlist name
date (int) -- event date/deadline
{uc_wishlist_products}
wid (int) -- wishlist id
nid (int) -- node id of product
qty (int) -- requested quantity
changed (int) -- timestamp of last update
data (text) -- product data, including attributes
purchase (text) -- purchase data for each in total quantity, including user, timestamp
I'll update this forum topic with progress on the development. I'd appreciate any suggestions or advice on best implementing this design.


)


I'll give it a go.



Joined: 10/02/2007