Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Online Store > Spotlight: Building the Storefront and Shopping Cart

Spotlight: Building the Storefront and Shopping Cart

Now that all of this groovy product data is showing up fine in the administrative interface, there’s just one problem: how do we expose these products on our public website to our customers? And further, how do we avoid displaying a product catalog with 25 entries in it, when from a customer’s point of view we only sell four products (three T-shirts and a sticker)?

Drupal Commerce’s “Products” concept essentially acts as your “warehouse” or “product catalog”: any and all items your store sells or has sold in the past should be represented in Drupal as products. However, that only gets you part of the way there: while your products will show up great in the administrative listings, they’re not visible on the site and your users can’t actually purchase them yet. Additionally, in our movie store example, paging through 27,000 products with titles like “Airplane! Blu-Ray Spanish Version” and “Airplane! DVD English Version” won’t make much sense to our customers. They’ll simply want to search for individual movie titles, and then choose the format and language they want....


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint