Ok, here's my situation: (I get this both with 6.x 2.x beta8 and with dev)

I have a webform which I wanted to have trigger a node checkout when the webform is submitted (I know about webform productize, and let's just say it doesn't fit my exact use case).

Now, I know (now) that I can't have webform do this exactly because a webform submission is not technically a node (learned that the hard way).

So my solution was to make a second product type (a product class), called "Ordertrigger" and use that as the trigger for the node checkout.

So the sequence goes:
1. I have the submit button on the webform triggerring a "create content" rule (Rules module) that creates an "Ordertrigger" product.
2. The "Ordertrigger" product class is tied (through Node Checkout) to my normal product being added to the cart.

SHOULD work as far as I can see. But I get that infuriating error message "is not a product. Unable to add to cart." when I hit the submit button. Can't figure out why and I'm not sure how to get Drupal to give me more info on this error. Not sure which one of the items is causing this error (the ordertrigger or the product), or if it is being caused by Rules itself. And nothing I have seen in the forums here or on Ubercart website for the above error message has been helpful.

NOTE: if I simply create the "ordertrigger" node manually, the node checkout works as intended. So Rules could be the culprit, but since the error is about saying "it is not a product", I figured I should check here first.

Here's hoping there's a Drupal guru with a big heart willing to save me from many more hours of hair pulling!

Chris

Comments

pelicani’s picture

We had the same error and came across this old post.
We found the culprit in the nodeapi hook of the uc node checkout module.
The message itself isn't set there, but this is a good place to start debugging issues if you have an problem that displays this message.

peace,
michael