Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Setting up individual products

From: Create Your First Online Store with Drupal Commerce

Video: Setting up individual products

When we're done with the next two videos, which show you how to create both a product, and a product display, you will see something like this. It's the front page of our site, with the product itself showing up in a list of other products. It has an image of the product, a description of the product, but it also has such nice little things, like this Add to Cart button. When you click on the product itself, you see it with a larger image, and a little bit of other changes, which you can affect in the product display. Let's get started. Now, it's time to list our first product.

Setting up individual products

When we're done with the next two videos, which show you how to create both a product, and a product display, you will see something like this. It's the front page of our site, with the product itself showing up in a list of other products. It has an image of the product, a description of the product, but it also has such nice little things, like this Add to Cart button. When you click on the product itself, you see it with a larger image, and a little bit of other changes, which you can affect in the product display. Let's get started. Now, it's time to list our first product.

Our client in these videos is a company that produces olive oil, so we will sell a simple half liter bottle. Later, we will sell a variety of sizes, and flavors, along with cosmetics, and tickets to events in the Olive Grove, and so on, but let's start small. Now, when we're done with this first video, you won't see the product on your site, because Drupal Commerce separates product entry, which we're doing now, from product display. I'll show you about the latter in the next video, displaying products. The basic way that you add products is actually fairly simple.

You go up to View products, and click Add a product. Once there, you see that there are a few required fields. You have to enter a unique identifier -- I'm going to be using five digit codes throughout this video series -- a title, a price, and a status, and you can also add an image if you like. This pattern is based on what's called a product type, and if you're familiar with Drupal 7, you know that this is something called an entity. It's a lot like creating a content type for nodes. I will show you just very quickly how that works, in case you're not familiar with Drupal 7.

Go up to Store, and Products, and then click Product Types. We only have one, which has a number of fields in it, which we can see by clicking Manage Fields. There it is; the SKU, the Title, Image, Price, Status; these are the fields you just saw a minute ago. You can make changes to these fields by clicking on Edit next to the field itself. Let's put in a default image, so that if we don't have an image of the product, people will see something, instead of just a blank space. To do that, you scroll down to the area where you can add that -- this default image down here -- and click Choose File.

We have a default image in the exercise files; this one right here. So I will choose it, and open, and Save settings. Then, we close our Overlay, if we'd like. You will see how this affects our store as we go on throughout the course. Now let's go back, and actually add a product. Once again, we go up to Store, and Products, or we could simply click View Products in the shortcut bar here. But however we get there, we then click Add a product. I will make this 10001. The Title is Olive Oil, .5 liter.

In this case, I do have an image in my exercise file, so I will select that, and let's say it's $10.00, and scroll to the bottom, and Save. If you're building a full catalog, here you have an option to add another immediately, but we will just add this one for now. That's pretty much all there is to it. Now, these products, as I say, do not show up on the site yet. They're sort of like boxes of things in the warehouse. On your Drupal Commerce Web site, you have to move them into the retail store, so to speak, before anyone can buy them.

So the next thing we'll do is to create a way to display this product.

Show transcript

This video is part of

Image for Create Your First Online Store with Drupal Commerce
Create Your First Online Store with Drupal Commerce

35 video lessons · 10888 viewers

Tom Geller
Author

 
Expand all | Collapse all
  1. 16m 44s
    1. Welcome
      54s
    2. Previewing the finished project
      4m 10s
    3. Surveying the store-building process
      4m 29s
    4. Using the exercise files
      7m 11s
  2. 12m 12s
    1. Installing Drupal Commerce using Commerce Kickstart
      6m 5s
    2. Configuring your store's basic information
      6m 7s
  3. 31m 29s
    1. Accepting PayPal payments
      5m 9s
    2. Setting up individual products
      3m 17s
    3. Displaying products
      6m 30s
    4. Categorizing products
      5m 31s
    5. Adding simple taxes
      4m 39s
    6. Seeing your site from the customer's viewpoint
      3m 26s
    7. Processing orders
      2m 57s
  4. 17m 39s
    1. Understanding products and other entities
      3m 3s
    2. Understanding line items
      3m 16s
    3. Understanding rules
      5m 10s
    4. Integrating your store into a Drupal site
      6m 10s
  5. 29m 46s
    1. Adding product variations
      7m 2s
    2. Managing product variations
      3m 50s
    3. Importing simple products
      10m 11s
    4. Importing complicated products
      8m 43s
  6. 29m 52s
    1. Shipping products
      4m 50s
    2. Managing inventory
      4m 30s
    3. Managing orders
      5m 39s
    4. Managing customer profiles
      4m 55s
    5. Using Views to gain better oversight
      5m 0s
    6. Accepting other payment methods
      4m 58s
  7. 24m 52s
    1. Changing your store's look
      6m 24s
    2. Streamlining the checkout process
      5m 19s
    3. Launching your store
      13m 9s
  8. 29m 25s
    1. Offering product discounts
      8m 56s
    2. Gaining insight from Google Analytics
      5m 45s
    3. Making your site more visible to search engines (SEO)
      5m 52s
    4. Encouraging customer buzz
      8m 52s
  9. 56s
    1. Goodbye
      56s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Create Your First Online Store with Drupal Commerce .

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.