Commerce, Rules, and Stock: Demonstrating the Power of Rules (Screencast)

Drupal Commerce is built on top of Drupal 7, Views, and Rules. The fact that it's built on Rules means that you can alter the behavior of your store without changing any PHP code, so changes of behavior for campaigns and changes of behavior for stock management are all within reason.

In this screencast I show how Commerce Stock adds stock management to Commerce, how to add a custom "reorder threshold" to a product type, and then how you can piggy-back a custom rule on that to notify when the stock hits the reorder threshold.

Commerce, Rules, and Stock: Demonstrating the Power of Rules from Randy Fay on Vimeo.

Resources

  • A simple feature for use with Features Module that packages up the rule and fields demonstrated here is at http://drupal.org/sandbox/rfay/1229306 (or download it as a tarball.) If you'd just like an export of the notification rule, it's attached to this article.
  • Node One has done an enormous number of screencasts on Rules. This is just one of them.
  • The Rules Handbook
Files: 
Posted July 25, 2011

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
X
In 2019 Commerce Guys rebranded to Centarro.

Change is at the center of eCommerce, but our team and mission remain the same.

Our consulting, development, and support offerings apply our expertise to help you adapt to change and grow.

Find us now at: https://www.centarro.io