Thanks so much for your support the last time. I have figured out i a solution an i need your help to finish it. I took at look at uc_attribute_rules.inc and realized it works only for ordered products. i.e. it is able to look at the ordered products and get the attribute options for the ordered product
I am looking for a similar rule that will check the attribute options in the cart to enable me perform a condition such as compare the result with a value and then trigger an action
How can i modify the "function uc_attribute_rules_condition_info() " , "function uc_attribute_condition_ordered_product_option($order, $oid)" and the "function uc_attribute_condition_ordered_product_options_list()" to enable me to check the items in the cart for their attribute options using the Rules Module
Thanks.
Comments
Comment #1
TR CreditAttribution: TR commentedComment #2
docans CreditAttribution: docans commentedthis is the full list of the code in uc_attribute_rules.inc
Thanks
Comment #3
tparc CreditAttribution: tparc commentedFollowing
Comment #4
TR CreditAttribution: TR commented