I want to add a Gift Card product to my Cart but assign a value the user typed in (so for example Product ID 3 would be gift card for $1, and I would then make it $25,$50, and so on).

How can I do this? I looked at uc_cart_add_item but it is just NID, and I don't want to make 500 different products for each amount possible.

Any help!?

1 Answer 1


Have you looked at the Variable Price module? http://drupal.org/project/uc_varprice

It's ostensibly for donations, but I think it might be customizable for your purpose.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.