say I want to tag a number of product on a "sales" taxonomy term which has a 5% off discount .
Wouldn't this be better done with something like uc_discount?
I need this functionality too. Can it be done? thanks
Here's how I'm doing it, looking for 7 specific taxonomy terms:
$node = node_load($item->nid); $terms = taxonomy_node_get_terms($node); $cat = array(2,3,4,5,6,7,8); foreach ($terms as $term) { if(in_array($term->tid, $cat)){ $tid = $term->tid; } }
#4 answered the question about how to access taxonomy information within a custom price calculation, so I'm going to mark this issue fixed.
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
mrfelton commentedWouldn't this be better done with something like uc_discount?
Comment #2
mrfelton commentedComment #3
BManuel commentedI need this functionality too. Can it be done?
thanks
Comment #4
jday commentedHere's how I'm doing it, looking for 7 specific taxonomy terms:
Comment #5
tr commented#4 answered the question about how to access taxonomy information within a custom price calculation, so I'm going to mark this issue fixed.