3 replies [Last post]
xerbutter's picture
Offline
Bug Finder
Joined: 09/07/2007
Juice: 146
Was this information Helpful?

Hello all,

I created a small module that lets customers mark an order as a gift at checkout then write a small message to go along with it. Here are the highlights:

1) Creates a new checkout pane that let's users mark an order as a gift and write a message
2) If the order is a gift, it is noted in red on the "view order" admin screen
3) Admin's can create / edit gift messages on the "edit order" admin screen
4) Admin's can print a modified invoice that shows the gift message, but no price information. This would be used to print and include when shipping the gift. (For this to work, you need to put the gift_message.itpl.php file in your uc_orders/templates directory)

This is my first ubercart module and would love to get any feedback on it or help testing. If people find it useful, I'll add it to the contrib section.

Best,
Xerxes

PreviewAttachmentSize
uc_gift.tar.gz3.6 KB
jrust's picture
Offline
Joined: 12/19/2007
Juice: 121
Re: Gift message at checkout (new module attached)

This is just what I was looking for -- thanks for sharing. I'll be porting it to 6.x and will post my results.

stockli's picture
Offline
Joined: 12/03/2008
Juice: 55
D6 version

I needed this for D6, so I went ahead and ported it... Super simple, just changed out the .install file and made a couple of small adjustments for D6's hook_menu changes, and the removal of db_next_id.

It's not heavily tested by any means, so please post here if you find anything amiss!

AttachmentSize
uc_gift.zip 6.48 KB
jrust's picture
Offline
Joined: 12/19/2007
Juice: 121
Re: D6 version

Also ported over to d6 and added one new feature: the ability to view and download the recipients of gift orders. Posted the d6 version of the module as uc_gift_order.