remove delete buttons for enabled "Commerce Features" : product types, tax types, tax rates, etc
there is already a hook_menu_alter() that takes care of the menu items for the deletion of "Commerce features"
But on edit forms the Delete buttons are present.

Comments

pcambra’s picture

Category: feature » task

Agreed

vasike’s picture

Status: Active » Needs review
StatusFileSize
new2.69 KB

here is patch for this.
the patch also "completes" the hook_menu_alter() for tax rates and tax types: "Delete links" removal.

i couldn't work with "Line item types" Commerce features, i can't see them. Maybe i missed something.
So there's nothing done about them.

pcambra’s picture

Status: Needs review » Needs work

You need to install commerce custom products contrib module for getting a delete/edit ui on commerce line items

vasike’s picture

Status: Needs work » Needs review
StatusFileSize
new3.18 KB

thank you pcambra, actually i tried "deprecated" Commerce Custom Line Items (Types) instead Commerce Customizable Products
here is the updated patch. i hope it's good enough to be commited

vasike’s picture

previous patch needed for Commerce Kickstart : #1723808-2: [No Demo Store] Can't delete product type

bojanz’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

correct spelling