Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#11 | clarify_reset_demo-1701958-11.patch | 1.84 KB | mglaman |
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedWhere 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.
Comment #2
xxm CreditAttribution: xxm commentedSorry, 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.
Comment #3
xxm CreditAttribution: xxm commentedIf I try to delete content typs the usual question arrises:
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
Comment #4
bojanz CreditAttribution: bojanz commentedRenaming. 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.
Comment #5
joshmillerOur 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
Comment #6
Cellar Door CreditAttribution: Cellar Door commentedSo 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.
Comment #7
sergiu.popa CreditAttribution: sergiu.popa commentedI 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?
Thank you
I changed the issue to Feature request
Comment #8
bojanz CreditAttribution: bojanz commentedI agree with #7.
Comment #9
mglamanWe should add a patch that checks via #states if demo is selected, if so display
Comment #10
mglamanMarking related issue
Comment #11
mglamanBuild: https://travis-ci.org/commerceguys/commerce_kickstart/builds/72304908
Comment #13
mglaman