ok, i want to check that a certain sku does not make it more than x-times into the cart!
the problem is that if the product has got no attributes i must node_load with the given $nid in order to get the sku. but if the product has got attributes, it will be passed on to the function via the 3rd argument. is there no way in core to say if the node is simple with no attributes to get this data into $data from $node? then you can easily query sku and all in one place..
Tue, 10/09/2007 - 03:43
