In this chapter, we talk all about changing the look and feel of your site with themes. We start by reviewing the settings that come with our default core theme, Bartik. Then we go to Drupal.org to look at available contributed themes, how to look for themes, and discuss what a base theme is. We'll finish up by actually installing a new contributed theme, Zero Point, and making some configuration changes.
In this video we'll start talking about the structure of content on the site by explaining what a content type is and how to create our own custom content types. First we review the two content types that are provided by Drupal core, Article and Basic Page, and then we dive into creating our own new content type, a Press Release. We also add a few fields and review configuring the field display.
For more instruction on using Fields and Image styles, check out these other series:
Intro to Fields for Site Builders
Image Styles
Drupal Commerce Basics
CourseNow that we've built our store out, we take time in this chapter to review other Commerce contributed modules that you would commonly use, and where to find them. We start on the DrupalCommerce.org contributed modules page, and take a look at these common modules:
- Commerce Stock
- Commerce File
- Commerce Address Book
- Commerce Coupon
- Commerce Extra Panes
- Commerce Fieldgroup Panes
- Commerce Checkout Progress
- Commerce Google Analytics
- Commerce VBO Views
Along with some popular payment method modules:
In this last video of the Drupal Commerce Basics series, Ryan walks through all of the major points that we covered while building out our store.
In this video we walk through two methods for downloading and installing new modules. First we use the administrative interface on our site to install a new module with a URL, and then we download a module directly from Drupal.org and place the files in the proper location in our Drupal files. We also talk about some best practices for organizing your modules in your file system.
Installing Drupal 7
FreeTo get things started in this series we'll install Drupal 7. We start in Drupal.org to download the code, review some important points to watch for when copying the files, then we show how to set up a database using PHPMyAdmin before we dive into the Drupal installer.
Additional resources
Our site is built, so now we need to get a few things cleaned up so that we get our site live and start taking orders. We start by changing the front page by adding a new view and adding a contact form. We also look at how to use blocks to add additional information to the site, and discuss removing them from the checkout process to minimize distractions. An important part of taking online payments is having secure payment processes, so we also talk about using SSL and how the Secure Pages module can help with that. Lastly we look at getting a new theme for your site. We go over where you can find paid themes that work well with Commerce out of the box, as well as some free contributed themes.
In this chapter we take a look at how we can enable more than one payment method for our customers to select, as well as how to make them appearing based on Rules conditions. In this example we make sure the Example payment method is only configured to appear for administrator users, and then we enable and configure the Authorize.net credit card payment method for all of our customers to use.
If you need a refresher on using Rules module, you can watch the Learning the Rules framework series.
In the last chapter we added a flat, percentage-based discount to the site. In this chapter, we will replace that percentage discount with specific wholesale prices that should be applied per product. We do this by adding a new wholesale price field to our products, then configuring our product pricing rules to swap out the line item amount.
If you need a refresher on using Rules module, you can watch the Learning the Rules framework series.
In this chapter we will learn how to work with product pricing rules to apply a discount for our store. In this example we will be applying a 25% discount to our customer who we have identified with a wholesaler role, using the Rules module.
If you need a refresher on using Rules module, you can watch the Learning the Rules framework series.
Now that we have a number of orders on our site we review the various ways to review the orders. We start by looking at it from the customer perspective, where they can view their own orders, and then we move into the administrative view to see where we can review the orders, as well as how to edit and effect the order status.
Now that we've reviewed how taxes work with the US-style sales tax, we'll continue on by seeing how to set our store up with a European-style VAT (Value-Added Tax). VAT is added to the unit price of a product, instead of on the line item on the order form. We'll dive into our Tax Type to explain the differences and then add VAT to our store, and also see how to have the site calculate the correct product price for a given VAT to give us a nice, even unit price for our products.
In this chapter we will look at how to add sales tax to our products. This chapter will cover US-style taxes, where the tax is listed separately and rounded up for each line item. The next chapter will cover European-style VAT taxes. We'll also look at how to make the application of taxes conditional with Rules, since you don't always want the same tax rate applied to all items.
If you need a refresher on using the Rules module, check out the Learning the Rules framework series.
In this chapter we look at how to modify the customer information that we collect during checkout. We'll add a phone number field to our customer's billing information profile as we explore the idea of the Profile entity and how that is linked to users. Additionally we look at how the billing information is linked to the orders we create, and how to properly update them.
In this chapter we will walk through the store checkout process, both as a logged-in customer and an anonymous customer. We will look at how we can customize the checkout pages and workflow, and as an example we will edit the defaults to provide us with a single-page checkout screen. We also review the customer's orders tab and talk about the Rules we can use throughout the checkout process. Lastly, we look into the order status as we proceed through an order.
In this chapter you will learn how to customize your shopping cart display, as well as the message that appears after a customer has added an item to the cart. The shopping cart is created using Views, and the message that appears is controlled with Rules. If you need a refresher on these two modules, you can watch these other Drupalize.Me series:
Now that we have some products in our store, we'll look at how we can use Drupal core's Taxonomy system to help us create a catalog based on the type of products we have, and we'll add some menu items to our main navigation.
Now that we have our base site installed and ready, we'll begin setting up our store by removing the example products that Commerce Kickstart created for us, and adding our own products to the store. We also discuss the difference between Products and Product displays.
To get started with our new Drupal Commerce store, we are installing Drupal using the Commerce Kickstart installation profile. Commerce Kickstart provides you with Drupal core, along with a number of modules that all Commerce sites will need to get up and running. Using the installation profile makes your life a lot easier since you have everything you need in one package and the Drupal installer will make sure that you don't hit annoying PHP timeouts when trying to enable all those modules at the same time. It also installs a few sample products and handles some basic configuration.