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

Defining the product (display) node


The Foodstuff product display node that was automatically created and associated with the product variation type we just created, can now be modified to meet the needs of our site.

Tip

Once again, I find it useful to think of the product as the customer facing description of one or more products. For example, if a product is available in three sizes, and therefore has three products in the store, the description is more than likely identical for each.

Given that the Foodstuff product node is the browsable shop front it makes good sense that a field is added here to contain the product description rather than in the product variation.

Since the Foodstuff product node type is a conventional node type, we can access it via the normal route.

From the toolbar, navigate to Structure | Content types. You will notice that in addition to the two default content types defined in the Drupal install, we now have a new one named Foodstuff.

Click on manage fields, as shown...

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