I'm trying to change 600 products so that the node SKU is set to the value of the node's title. I want to use VBO to accomplish this, with the "execute arbitrary PHP script" option. Here is the code I am using:
$new_node = node_load($object->nid);
$new_node->model = $object->title;
node_save($new_node);
However, this does not work. Does anyone know where I'm going wrong here?