Closed (fixed)
Project:
Commerce Features
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Sep 2012 at 15:09 UTC
Updated:
28 Sep 2012 at 00:21 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | remove_delete_buttons_for_commerce_features-1781312-4.patch | 3.18 KB | vasike |
| #2 | remove_delete_buttons_for_commerce_features-1781312-2.patch | 2.69 KB | vasike |
Comments
Comment #1
pcambraAgreed
Comment #2
vasikehere 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.
Comment #3
pcambraYou need to install commerce custom products contrib module for getting a delete/edit ui on commerce line items
Comment #4
vasikethank 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
Comment #5
vasikeprevious patch needed for Commerce Kickstart : #1723808-2: [No Demo Store] Can't delete product type
Comment #6
bojanz commentedCommitted.
Comment #7.0
(not verified) commentedcorrect spelling