When user clicks on the “ do not install demo store “ option:

- Ideally they would choose which “features” they want to install

FEATURES

- Slideshow
- Product ads/pushes
- Social login
- Social links
- Multiple product image thumbnails (should go to both architecture)
- Image zoom (should go to both architecture)
- Read more on product descriptions
- etc....

Things that would still be installed by default include, shipping, tax configuration, product grid, product & order management, etc...

CONTENT CONFIGURATION

- 3 blank products that include
- Title
- Image (i guess it should be on product variation and not the product display)
- Body
- Price
- 1 product display type
- 1 product type
- 3 menus - Primary, Secondary, Footer
- 3 vocabularies - Sample color (sample white, sample black), Sample size (sample small, sample large), Sample product category (sample category A, sample category B)
- [if slideshow enabled] 2 blank slideshow examples
- [if product ad enabled] 1 product ad
- [if blog enabled] 1 blog entry
- [if faceted search enabled] Search set-up with sample facets

CommentFileSizeAuthor
#11 installation.png114.79 KBbojanz
#11 interdiff.patch97.11 KBbojanz

Comments

guguss’s picture

Title: Create a version of Kickstart without the demo store installed » Provide a "without demo store content" installation for Kickstart
guguss’s picture

Assigned: Unassigned » haza
mandreato’s picture

Version: 7.x-2.x-dev » 7.x-2.0-alpha1

First: I've tried the alpha1 and it looks AWESOME!

BTW, after store configuration (just EUR currency and European tax), I've tried to "manage demo" navigating to admin/demo and pressing the "Kill me !" button (since it was not possible to avoid example store contents installation before).
My hope was to get rid of all demo contents in order to start with my specific setup (then migrate from Ubercart 6.x-2.9...); instead I received the following errors:

  • An AJAX HTTP request terminated abnormally. Debugging information follows. Path: .../install.php?profile=commerce_kickstart&locale=en&id=1&op=do StatusText: ResponseText: ReadyState: 4
  • An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: .../install.php?profile=commerce_kickstart&locale=en&id=1&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function field_read_fields() in ...\modules\field\modules\field_sql_storage\field_sql_storage.install on line 16
bojanz’s picture

The admin/demo functionality still needs serious work, so I'm not surprised. Avoid it for now.

haza’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.x-dev
AngryWookie’s picture

The option for importing content is there when running the Kickstart 2 Alpha 1 installer but the radio buttons are disabled so there is no way to select "No"

haza’s picture

@AngryWookie : because it's not really working for now. This is there to say "we're working on that" :)

guguss’s picture

When installing the no-demo-store-content, the user could ideally choose to enable the:

  • Slideshow with its content
  • Blog with its content
  • Ad push blocks with its content to feature some parts of the site
  • Social logins to allow users to login via social networks
  • Social links to allow users to share products via social networks
  • Commerce Kickstart admin menu
  • Faceted search
  • Zoom & Gallery mode for products

The 2 last ones need further discussion.

  1. Faceted search : should we display facets for the sample categories that we create ? The store admin will have to add his created fields as facets anyway.
  2. Zoom & Gallery : we'll need to export the cloud_zoom configuration related to the product type into a separated feature. So we won't export the whole product type configuration into a single feature and we could then miss new created fields.
guguss’s picture

Priority: Major » Critical
guguss’s picture

Here's my answer for 1 & 2 on #8 :

  1. Faceted search : We'll enable the corresponding modules and create 3 default facets (price, sample size, sample color).
  2. Zoom & Gallery : Let's try to export the cloud_zoom configuration into a separate feature for the sample product type and test it.
bojanz’s picture

Status: Active » Fixed
StatusFileSize
new97.11 KB
new114.79 KB

Aaaaand merged!

Spent two days reviewing and polishing this code.
Attached an interdiff detailing my changes against Haza's latest code.
Also attached a screenshot showing how the selection looks right now.
You'll notice that it isn't as granular as #8 specified, so it could obviously do some more work (Haza's patch had it as granular as #8, but it wasn't separated in code, so I just made the UI match our current state of code).

What I changed:
1) Rewrote commerce_kickstart.profile, fixing the issues I had with it (it was reverting some changes made for alpha2 due to a faulty rebase, had a bit wonky language, separate codepaths with very different pages and page titles for demo store and "no demo store", demo store modules enabled all at once which could lead to timeouts, etc)
2) Added Inline Entity Form to the base "no demo store" product feature, it was missing.
3) Added commerce_backoffice and commerce_kickstart_content_ui (which needs to be merged into backoffice) to the "no demo store" install, it was previously missing due to a dependency on one of the demo store modules (which was a quick fix for the shipping field not appearing in the megarow).
Removed that dependency, so we'll need to find another fix for the shipping field situation.
4) Removed "sample" from the name of the new fields, product and node types, since there's nothing "sample" about them.
Made it rely on the Commerce provided default product type.
5) Cleaned up the group names of migrations.
6) Disabled the grid view in Omega by default, since the red stripes made the theme look quite odd, my first thought was that something was broken.

Critical followup that needs your feedback:
#1686600: Figure out the correct directory structure for the custom Kickstart modules

Other followups:
#1672212: Make sure the node templates are no longer harcoded
#1686610: Commerce Backoffice doesn't show shipping by default in the order megarow
#1686586: [No demo content] AutoSKU not configured for default product type
#1686594: [No demo content] commerce_kickstart_blog should not depend on commerce_kickstart_merchandising
#1686590: [No demo content] Custom user pages not available (commerce_kickstart_user not installed)
#1686598: No products page found when the custom admin menu is disabled
#1686602: [No demo content] Addressbook doesn't work

Status: Fixed » Closed (fixed)

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

krisrobinson’s picture

Can't wait to try this out.