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.
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.
Now 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 video we will be using two contributed modules, not a part of the Drupal Commerce package, called Commerce Shipping and Commerce Flat Rate to set up shipping rates for our products. We set up our base shipping services and then use Rules to modify the final rate as needed. In our example we will be giving free shipping to any order over $100, while we will have a standard shipping rate for orders under $100. We also take a look at how we can use Views to change the line items displayed on our orders.
If you need a refresher on the Views or Rules modules, you can watch these other Drupalize.Me series:
Note: as of Commerce 1.4, you should be using the "Price comparison" condition instead.
This screencast covers the following topics:
- How to set a flag using Rules
- Parameters used when setting a flag with Rules
- Some words about creating loop actions with Rules
If you need a refresher on Rules, check out the Learning the Rules framework series.
Flag and Rules
FreeThis screencast covers the following topics:
- Where to find and how to apply the patch currently necessary to use Rules with Flag
- How to have a rule react on flagging/unflagging a piece of content
- As an example: How to change access to a node based on flagging status
If you need a refresher on Rules, check out the Learning the Rules framework series.
This screencast covers the following topics:
- Creating user flags
- Using user flags in Views to limit the nodes displayed
- Using a double Views relationship to access the flagging user
- Using contextual filters on the flagging user
Non-Global Flags
FreeThis screencast covers the following topics, using the example of flagging comments as spam and then creating an admin interface to manage them:
- What non-global flags are, and how to create them
- How to create flags on comments
- How to access flag count data in Views
- How to create a simple Bulk Operations view
Global Node Flags
FreeThis screencast covers the following topics:
- What global flags are and how to create them
- How to create node flags
- How to create a view showing flagged content, using relationships
- How to use DraggableViews to sort flagged nodes manually
If you need a review of using Views relationships, you can find that in the Configuring Views relationships video.
This screencast covers the following topics:
- Installing the Flag module
- What flags are and how they are used on your website
- The default bookmarks flag, and its view
We also see a few other generally useful modules in action, though not germane to using Flag:
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.
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.
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.
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.
Flag is a module used for marking nodes, comments or users with an on/off marker, for example for flagging spam comments, selecting content to promote to a sidebar, or marking other users as friends. What makes Flag useful is primarily its integration with the Views and Rules modules, and this series will make sure to cover those important pieces, too.
Recently we released a number of videos showing how to set up a local web server so that you can build and develop a web site on your own personal computer. This is a HUGE help when working on a site since you have everything you need locally, and you can play, break, and test things in a safe environment. It's also super handy when you need to get some work done but you don't have an internet connection handy. This is really such a basic tool for working with the web that we've decided to make the three server installation videos FREE for everyone.
Drupalize.Me Live from Denver, Colorado
Blog postThis is what happens when you take the Drupalize.Me team and tell them that they need to run the sponsor booth during DrupalCon Denver. We started thinking about what we could do at the booth, things like rig up a TV so that people can watch Drupalize.Me videos played via our Roku app, and maybe an iPad or two so that we can show off the mobile capabilities... and wait just a moment. What if we get a big cardboard box and cut a TV out of it and just re-enact videos? It'll be hilarious! And thus Drupalize.Me Live was born.
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.
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:
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.