i see uc_roles_action_order_renew on uc_roles.rules.inc

foreach ($order->products as $product) {
    // Look for any role promotion features assigned to the product.
    $roles = db_query("SELECT * FROM {uc_roles_products} WHERE nid = :nid", array(':nid' => $product->nid));

    foreach ($roles as $role) {
      // Product model matches, or was 'any'.
      if (!empty($role->model) && $role->model != $product->model) {
        continue;
      }

$product->model its having the product generic sku, not the attribute ALTERNATE SKU

Comments

ropic’s picture

Status: Active » Closed (works as designed)

sorry , my fault , i'm doing this programmatically and i see i need to change manually the $product->model, and not only add data['attributes] array