Community Documentation

Commerce overview

Last updated February 5, 2011. Created by Scott J on December 26, 2010.
Log in to edit this page.

The Drupal Commerce Product module defines a fieldable product entity that can have multiple bundles and creates a default product type upon installation. The Product UI module defines a default UI for managing product types, forms for adding and managing products, and Views integration for viewing products.

The Product Reference module defines a field that references any number of products from other entities for display to the end user. Products themselves aren't currently meant to be viewed but rather referenced by the nodes (or other points of display) that market the products. The Cart module defines a display formatter for the product reference field that takes the referenced product IDs and builds a simple Add to Cart form using the data. When multiple products of the same type are referenced, the Add to Cart form will include widgets to select the appropriate product for purchase based on the fields of that product type.

For example, an apparel store might sell every style of t-shirt in small, medium, and large. With the core components, the process from product creation to merchandising for each style of t-shirt is:

  1. Create a new "T-shirt" product type and add a required Size field to it with the available sizes as options.
  2. Add a new T-shirt product for each Size with a unique SKU, likely using a pattern based on the Size (SHIRT-001-S, SHIRT-002-M, etc.).
  3. Create a "Product" node type and add a required Product Reference field to it that is multiple entry, uses the product autocomplete widget, and uses an Add to Cart Form display formatter.
  4. Add a new Product node for the style of t-shirt with images and descriptive text marketing the t-shirt for sale. Reference each variation of the style of t-shirt through the Product Reference field.

Comments

What's the difference between product and product reference??

product is the product and

product is the product and product reference is the content type widget which you reference a "product" so it shows on the node view page.

So can this module be used

So can this module be used without this product reference? I would guess not.
Data input is usually done by clients and they are low in tech knowledge and this kind of container for product display will just confuse them :-(

Video Walkthrough

Anyone know of any "how-to" videos online...?

thanks,

cheers,
allanx
perth - western australia
---
web design | development | maintenance: http://radicalhack.com

Have a look here -

About this page

Drupal version
Drupal 7.x
Audience
Site administrators
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here