Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Adding simple taxes


From:

Create Your First Online Store with Drupal Commerce

with Tom Geller

Video: Adding simple taxes

If you have been following the course to this point, you could actually open your store right now. You know how to create and display products. We have categorized them, and you have given customers a way to pay. But there's a lot more to running an online store than that, of course. In this jumpstart Section, I am just touching on a few topics that give you a foundation for all the rest of the things you will learn in this course. This video shows you how to apply a very simple tax to your customer's orders. But in a larger sense, it's about two features that are central to Drupal Commerce, and that you will learn more about throughout the course; line items, and rules. But let's take it back a little bit, and talk just about taxes.
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

please wait ...
Watch the Online Video Course Create Your First Online Store with Drupal Commerce
3h 12m Intermediate Nov 17, 2011

Viewers: in countries Watching now:

This course shows how to build an online store using Drupal Commerce, a set of modules that extend Drupal. Author Tom Geller teaches the basics of configuring a store, processing a payment, and charging for shipping and taxes, as well as creating, displaying, and categorizing products. The course also explains how to integrate a store into a Drupal site, customize a store's appearance, and increase site traffic using search engine optimization (SEO) techniques.

Topics include:
  • Surveying the store-building process
  • Installing Drupal Commerce using Commerce Kickstart
  • Accepting PayPal payments
  • Processing orders
  • Understanding rules and line items
  • Listing and importing products
  • Managing inventory, orders, and customer profiles
  • Streamlining the checkout process
  • Launching a store
  • Offering product discounts
  • Analyzing site traffic with Google Analytics
Subjects:
Business Web
Software:
Drupal Drupal Commerce
Author:
Tom Geller

Adding simple taxes

If you have been following the course to this point, you could actually open your store right now. You know how to create and display products. We have categorized them, and you have given customers a way to pay. But there's a lot more to running an online store than that, of course. In this jumpstart Section, I am just touching on a few topics that give you a foundation for all the rest of the things you will learn in this course. This video shows you how to apply a very simple tax to your customer's orders. But in a larger sense, it's about two features that are central to Drupal Commerce, and that you will learn more about throughout the course; line items, and rules. But let's take it back a little bit, and talk just about taxes.

We go up to Store, Configuration, and Taxes. Here we have two tabs: Tax Rates, and Tax Types. You might notice a pattern between this screen, and some of the others you've seen during this course. You might remember, setting up a content type, and a content type is a pattern for nodes. You create the nodes themselves based on a content type, because as I say, it's the template. Product display is the only content type we have used in this course, although Drupal, and Drupal Commerce as well, also comes with two others, known as basic pages, and stories.

Similar to content types, are product types. A product type is a pattern for products. So first you create the product type, and then you create the products themselves. Drupal Commerce comes with one product type built in. Now we are in taxes, and we have tax types. They are patterns that we use to create the taxes themselves. So let's go back to our site, and I will show you how that works. Drupal Commerce comes with two tax types. First there's the Sales tax, which is the way that we do things in United States, and several other countries.

Then there is VAT, which is more of a European system. The difference between the two has to do with when the tax is applied, and there are few other small differences. Now the Tax Rates tab, actually defines how much tax there is of those two types. So let's go ahead and add one. We click Add a tax rate, and I am going to call this Flat 8% tax. The display title will also be Flat 8% tax, and if you want you can add a description.

In the Rate, we actually enter this as a decimal; 8% is 8 one hundredths. You are adding 8 one hundredths of the amount of the sale, so it's dot, 0, 8; .08. And we are going to keep it as a Sales tax. This is where that tax type comes in, and Save tax rate. That's really all that you have to do, except I want to mention exactly what's happening here. When you create a tax rate, you're actually creating a rule, and if we click configure component here, you'll see a little bit about how that works.

You could set up conditions here, so for example, only apply the tax if it's within a certain state, or if it's above a certain amount, or below a certain amount. And then it takes an action. And if we edit that, you can see it's our Flat 8% tax. I will show you a bit more about how to vary your taxes according to location in the video creating tax rules. But for a simple tax, that's really all you need to do. But where does the tax show up? Drupal Commerce is set by default to display taxes American-style; during the checkout phase of the purchase. So I will walk through the process to demonstrate that.

We will also catch anything odd we might've missed while setting this up. To do that, I will close out this overlay, go back to my front page, and let's say that I want to, for the first time in this course, purchase something. I will purchase this Lip balm; add it to the cart. That shows up over here. I'll view the cart. Yep, it's 8 dollars. And then let's say I check out. Yep, there is our 8 dollars for the item. We only have one item, so there's our subtotal of 8 dollars, and then it adds the 8% tax, for $8.64.

These parts are what are known as line items. The product here is one kind of line item, and then the tax is an item that is added after all of the products are put together. Some of this behavior varies in Drupal Commerce, and the good thing about Drupal Commerce is that you can make it vary according to your individual situation. And taxation is a kind of place where you might actually end up varying the way that things appear. It's a very complex subject, and we only scratch the surface with this simple tax example. But in Drupal Commerce, all of this implementation happens using rules.

I will show you how to use rules to prevent people in your home state from paying taxes, for example, in the video understanding rules, and you can add any kind of rule you want to create any kind of tax situation that you need.

Find answers to the most frequently asked questions about Create Your First Online Store with Drupal Commerce .


Expand all | Collapse all
please wait ...
Q; Where can I learn more about how to make a website?
A: Discover more on this topic by visiting how to make a website on lynda.com.
 
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

* Estimated file size

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

Upgrade to View Courses Offline

login

With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

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 ?

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:

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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Start your FREE 10-day trial

Begin learning software, business, and creative skills—anytime,
anywhere—with video instruction from recognized industry experts.
lynda.com provides
Unlimited access to over 4,000 courses—more than 100,000 video tutorials
Expert-led instruction
On-the-go learning. Watch from your computer, tablet, or mobile device. Switch back and forth as you choose.
Start Your FREE Trial Now
 

A trusted source for knowledge.

 

We provide training to more than 4 million people, and our members tell us that lynda.com helps them stay ahead of software updates, pick up brand-new skills, switch careers, land promotions, and explore new hobbies. What can we help you do?

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.