Hey all - Using 6.x + UC 2

When someone buys an item, a default message pops up "Thank you for... your order id is X".
I'd like to change this message as I have implemented a printable giftcard system and need to add to the message "Click here to print your Giftcard" with a link to a custom print page.

I can't seem to find the override function.

Any help would be appreciated
Thanks

Comments

alekm’s picture

Just as I hit submit I finally found something that worked.
http://efreedom.com/Question/1-2610096/Dynamically-Change-Ubercarts-Defa...

By using the theme_uc_cart_complete_sale() function you can override this message. Its unfortunate that I need to use this in the theme and not the module, as they don't always go hand-in-hand. This will work in this scenario but if anyone has a better way I'm all ears.