product class not working cause of a unset count_callback
HnLn - November 25, 2008 - 18:51
| Project: | UC Discounts |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Hi there,
I can't get the uc_discounts product class module to work. I've been looking through the code, and the discount routines stop at the following point. In the function uc_discounts_product_discount_price in uc_discounts.module there is a condition on line 674:
if (isset($condition_info[$condition->property]['count_callback'])) {..} This never passes and results in a $c = false in the following loop to set the $condition_groups.
When looking at the uc_discounts_product_class.module I can't find any reference to count_callback.
I'm new to ubercart so I might be completely missing something here :-)
Tnx,
HnLn
