When attempting to delete the default Product type that comes with Kickstart, clicking the delete button has no effect. The product type is not deleted, and no message is shown.

admin/commerce/products/types/product/delete

CommentFileSizeAuthor
Product | Commerce Kickstart.png85.36 KBrobertDouglass
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

theo_’s picture

Assigned: Unassigned » bojanz
vasike’s picture

Assigned: bojanz » vasike
Status: Active » Needs review

actually "Can't delete product type" it's not a bug.
it's Commerce Features "Feature": The product types provided by (Commerce) Features shall not be deleted.
at this moment you can still see the delete button. but probably soon it should be vanished #1781312-3: Remove delete buttons for enabled "Commerce Features"
here is a commit which includes the Commerce Features patch: https://code.drupalcommerce.org/#/c/429/

So what you have to do it's to disable the custom Feature that defines this product type:
- for [No Demo Store] Commerce Kickstart Lite Product
- for [Demo Store] Commerce Kickstart Product

bojanz’s picture

Status: Needs review » Fixed

Fixed by the provided commerce_features patch.

xxm’s picture

While trying to delete one of these features these error messages shows up:

The feature commerce_kickstart_lite_product cannot be enabled because it conflicts with commerce_kickstart_product.

or

The feature commerce_kickstart_lite_product cannot be enabled because it conflicts with commerce_kickstart_product.

The patch only disables the buttons, it does'nt change the possibilty to delete product typs. Right?

bojanz’s picture

If you're just trying to disable a feature, why does your error message say you're enabling the opposite one?

Yes, it just disables the buttons.
I will untie the product type in "no demo store" so that it can be deleted, but the demo store ones won't ever be deletable.

xxm’s picture

If you're just trying to disable a feature, why does your error message say you're enabling the opposite one?

That's what I'm asking and don't understand.

Status: Fixed » Closed (fixed)

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

marktheshark’s picture

I'm trying to delete the default Product Display Content type, since I won't be using the plain Product variation type provided in DCK. However it does not appear to be removable (While I was able to delete the Product variation type)...

More_well’s picture

Issue summary: View changes

Let me see my solution of problem, it's work for module Drupal Commerce !

1. Go to Store
2. Click Orders
3. Chose Shopping carts
4. Delete all orders in there
5. Go back to product's and delete all !
6. Then delete Product Display Content type !