I'm trying to hide the "Save and Add Another" button on the form used to save new products.
I can access the "Save" button in the $form array at
$form['actions']['submit']. However, I'm not seeing the "Save and Continue" button in
I looked in commerce_product_ui.module and found the place where this form element is being added. It's called
$form['actions']['save_continue']. I would expect to see it in the
$form array, but again - it just doesn't seem to be there.
Thanks for your help.