Issue #2297989 by fgm: prevent deletion of Commerce Types with existing content

WIP.

Do not pull this, you are unable to add products / orders with this.