Discussions

Is this possible with drupal?

I am new to drupal and considering using drupal commerce on my newest ecommerce project. As a newbie, I am in the learning stages and not completely clear as to the best use of the various drupal tools in certain applications.

I would like to create a dynamic product display like the one used here -

http://www.shopskunkfunk.com/#view=grid&item=&search=*category/womens/*s...

Note how the initial page shows products under the parent category "womens". The shopper has the ability via the radio buttons to refine the display to show products based on other facets such as brand, color, season, etc.

How might this same result be accomplished in drupal commerce? I don't mind digging in and learning. Perhaps some experienced drupal users might make recommendations as to how they would begin.

Posted: Jul 20, 2012

Comments

woprrr on July 20, 2012

Yes it is quite possible;) For the search page (the link you have give) you will have created a catalog (panels) with the combination of http://www.drupal.org/project Search API / search_api / Facets http://www.drupal.org/project/facetapi and all indexed by Solr http://www.drupal.org/project/search_api_solr/. With this you have everything available for this page.

With respect to the product page it's basic functionality provided by attribute drupal trade natively (The explanation http://www.drupalcommerce.org/user-guide/create-product-display-multiple- attributes-eg-color-size).

I think it will be the easiest way to arrive at this result Facets and search api being extremely powerful and advise!

By cons for the price ranges you will need some specific facets, everything is explained in the docs.

I remain at your disposal for more precision, but it seems to project as sexy;)

Good luck!

merryseeker on July 21, 2012

Thanks for your recommendations. I am developing on my local windows pc and have the necessary java, tomcat required for setting up the apache solr service. I get the same error message as the one discussed on this thread:

http://drupal.org/node/1550964

It appears that the solution might be as outlined there, but I am not experienced enough to understand:
1. where to install the "attached patch"
2. what is meant by "the following patch will need to be ported".

I'd love to get this all working so I could attempt to achieve my desired results. Maybe I've jumped in too far in my early stages of learning as solving this issue of getting solr going seems to be way over my head!

Would it perhaps be advisable to install an older version of solr and see if the problem goes away?

merryseeker on July 22, 2012

I changed the apache solr from 4.0 ALPHA to 3.6.1 and now the server works without the error. Wonder if whatever is causing this issue will still be there in the next release?

merryseeker on July 25, 2012

so I installed version 3.6.1 of apache solr. A test of the server in drupal shows that it connects.
When I run an index in drupal, it shows:

5 items successfully processed. 0 documents successfully sent to Solr.

If I "View more details on the search index contents" the report shows the following error message:

Notice: Undefined property: stdClass::$numTerms in apachesolr_index_report() (line 556 of C:\Documents and Settings\Lori\Desktop\commerce_kickstart-7.x-1.8\sites\all\modules\apachesolr\apachesolr.admin.inc).