O'Reilly logo

Drupal e-commerce with Ubercart 2.x by Yiannis Doxaras, George Papadongonas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding and configuring conditional actions

Conditional actions is an Ubercart core module, and is required to create shipping quotes and tax rules. It's also used to update order status automatically, when a payment is received, and to send automated notifications. When you ship products to different regions of the world, or you have different shipping charges, depending on the total weight, you need to implement some business logic in your store. Then, the store can automatically decide what happens when you ship X products to Y region with Z weight.

A conditional action has three elements: a trigger, the conditions, and the actions. This combination is called a predicate.

A trigger is actually an event and it's usually enabled when the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required