i have been trying to get this workflow condition to work with no luck. After doing some debugging the problem appears to be in
uc_cart_workflow.inc
function uc_cart_condition_product_class($order, $settings) {
$result = FALSE;
foreach ($order->products as $product) {
if ($product->type == $settings['class']) {
$result = TRUE;
break;
}
}
return $result;
}It is checking the product type but the product has no type set. The product is a created class through product classes.





Joined: 11/30/2007