Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Drupal Commerce

You're reading from   Getting Started with Drupal Commerce Learn everything you need to know in order to get your first Drupal Commerce website set up and trading

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781783280230
Length 152 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Toc

Table of Contents (18) Chapters Close

Planning our products


The majority of the products on the site are bags of coffee beans and tea leaves in various packaging formats.

Thus, we can fully define a sellable product with the following fields:

  • Title

  • Stock Keeping Unit

  • Description

  • Price

  • Image

  • Pack size

  • Physical weight

Product entities and product displays

One of biggest points of confusion for those new to Drupal Commerce is the concept of working with product entities and associated product displays.

I will now attempt to explain the reasoning behind this concept, and I will then introduce you to some extra helper modules that make life significantly easier when it comes to working with the model.

With a base Commerce installation, when you create your products, you do not actually have an automatic way to display them on the website which initially seems rather strange.

The reason is that sellable products are actually examples (instances, if you will), of specialized product entities as provided by the Commerce product module, and as such...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image