On products with lots of fields (20+) the save button doesn't always display at the bottom of the page. Here's a patch to set the weight of the save, and status buttons very heavy, so it displays in a consistent location on the page.
This could be a bit of a hack, but I don't know of a better way to do this, other than to simply have a theme function to place it on the bottom of the form, or some sort of form_alter to modify the form field weight. Neither of those seem like good solutions either. Here's a patch for the simple way
Comments
Comment #1
rfaySorry, couldn't help myself.
Comment #2
mikejoconnor commentedAfter a more through review, I don't believe the patch above will fix the problem.
The issue is actually caused by the weight of the status field, in reference to the product save buttons. If you add form fields, without re-ordering them, the 5th or 6th field will show up under the product action buttons.
Here's a new patch, which leaves the product status at the same weight(it can be reordered anyway), but moves the action buttons to the bottom of the page(assuming you have less than 965 fields on your product.
Comment #3
rfayMakes sense to me. I don't know what harm it can do.
Comment #4
rszrama commentedCommitted. Thought about just removing status from hook_field_extra_fields() but left it in for now.