Learn how to create your own pizza store using customizable products in Drupal Commerce. I show you how to create your own custom line item type, assign it to a Product Display, add a field to your new line item type that references a taxonomy list. Each term has it's own price and your customers get a simple check "configuration" that adds costs to the final total.
A member on DrupalCommerce.org was asking how to create a rule that would prevent users in New Mexico from purchasing slingshots. I thought about it for awhile and decided this technique would work.
This (raw) screencast shows how to calculate shipping based on weight of items in the order.
We add a weight field to the product, and then create a "calculation rule" for shipping that walks the line items on the order, checks to see which items have a weight, and for each of those adds more to the price of the shipping line item.
I've posted the result of this as a little feature module, drupal.org/sandbox/rfay/1374058
It was inspired by the questions at drupalcommerce.org/node/1721
Discounts in Commerce have generally required configuration using rules, and have often required hand-applied configuration, which is probably out of reach for many site managers. In the Commerce Discount Campaign Feature (drupal.org/sandbox/rfay/1357008) I've put together a few rules with a content type so that discount amounts and dates can be done just by editing a node. This screencast tells how.
This project provides an easy way to do time-limited discounts in Drupal Commerce. A campaign is a time-limited discount that can be applied to any product.
In this screencast I'll show how to offer a shipping discount based on whether a particular item is in the cart.
This screencast shows some more advanced rules-based configuration of [Commerce Shipping](http://drupal.org/project/commerce_shipping). Note again that we're using the 7.x-2.x branch (currently a dev release) of Commerce Shipping, and the new [Commerce Flat Rate](http://drupal.org/project/commerce_flat_rate) module.
Custom line items and rules are incredibly powerful together. Tonight I just needed a quick coupon for a store that had just one product. This is a one-time thing and didn't need the Commerce Coupon module. So I just did it quickly by adding a field to the line item and writing a rule.
This screencast shows how to use a custom line item type to allow your customer to specify a user-defined amount to donate. The line item has a Donation Amount field on it, and we then create a product display node that uses that custom line item. Finally, we use a custom rule to update the "price" of the donation product to the amount the customer has chosen.