Maybe I'm wrong, but I can't delete any product displays in the demo store. Is there a way even to delete some product displays?

CommentFileSizeAuthor
#11 clarify_reset_demo-1701958-11.patch1.84 KBmglaman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz’s picture

Where are you looking?
When you go to the products page, each row has a button with Quick Edit / Edit / Delete.
There's also a checkbox allowing you to select multiple rows for deletion.

xxm’s picture

Sorry, I'm wrong display typs can be deleted but product types not. I've tried to delete them here user/4/orders/2#overlay=admin/commerce/products/types/tops/delete
But nothing happend.

xxm’s picture

If I try to delete content typs the usual question arrises:

Are you sure you want to delete the content type Drinks?
This action cannot be undone.

But after clicking on the delete button the content type still exists.

The link to this action ist
products#overlay=admin/structure/types/manage/drinks/delete

bojanz’s picture

Title: How to delete products display in demo store? » Demo store content types can't be deleted

Renaming. As I said, this is probably because the types are provided by Features.
It's interesting that you see the Delete links at all, I don't.

joshmiller’s picture

Title: Demo store content types can't be deleted » Clarify "reset demo store content" action
Assigned: Unassigned » joshmiller

Our friend, xxm, has now documented an experience that a lot more Drupalers are sure to face. The problem is that Demo Store content is relatively "sticky" because it is defined in code. This paradigm is handled appropriately in Views and Image styles as they let you "override" or "disable" code-enabled areas.

To answer your question, @xxm, we are aware of the situation and will be treating this as a documentation issue. The trick is to install or reset your site without the Demo Store content. The installer for alpha-3 and forward lets you do this, and we are adding additional functionality over here: #1673550: Remove the demo bar, rework the "reset" page and #1676730: Improve the Getting Started screen

Cellar Door’s picture

Version: 7.x-2.0-alpha3 » 7.x-2.0-beta2

So it appears this could still be an issue in beta 2. After resetting I still had all the content types left over and just like with xxm they weren't going away when I tried to delete. I ended up having to disable all the kickstart specific modules and the commerce features to finally be able to delete them. In the process now so I will check back and see if enabling the features one by one again helps.

sergiu.popa’s picture

Category: Support request » Feature request
Priority: Normal » Major
Issue summary: View changes

I would kindly suggest to clarify this problem with the demo content in the installation process. After configuring the multilanguage and other options I tried to delete the product types without luck. Now I must start again with the installation. A bit frustrating after some long hours of work. It would be nice to have this:

Do you want to install the demo store?

  • Yes Shows you everything Commerce Kickstart can do. Includes a custom theme, sample content and products. Important: Once installed, products type cannot be deleted. Not recommended for development.
  • No

Thank you
I changed the issue to Feature request

bojanz’s picture

I agree with #7.

mglaman’s picture

Component: Documentation » User interface
Assigned: joshmiller » Unassigned
Issue tags: +sprint

We should add a patch that checks via #states if demo is selected, if so display

Important: Once installed, products type cannot be deleted. Not recommended for development.

mglaman’s picture

Marking related issue

mglaman’s picture

  • mglaman committed 4cbb258 on 7.x-2.x
    Issue #1701958: Clarify "reset demo store content" action
    
  • mglaman committed e63b084 on 7.x-2.x
    Merge pull request #145 from mglaman/1701958-clarify-demo-on-install...
mglaman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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