Active
Project:
UC Variable Price
Version:
6.x-1.0-rc3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2010 at 18:01 UTC
Updated:
27 Mar 2012 at 02:25 UTC
Is there a way to set the variable price based on a cck field?
Scenario: I have a site that keeps track of membership dues and each member has a content_profile node that had a "balance due" cck field which is the amount they owe; the balances vary per member. So I'm trying to plug that balance due into the variable price field.
Note: I've also tried to hook_form_alter on 'uc_product_add_to_cart_form_[form-id]", but I can't effect $form['varprice']['#default_value'] or $form['varprice']['#value'] values.
Comments
Comment #2
pixelsticks commentedDid you ever find a fix for this? I've tried similar solutions, but to no avail. Any guidance (especially if you got it working on 7.x) would be awesome.
Thanks!