Rotozoom Woo Conditions

By rotozoom

0+ active installationsVersion 1.3.1.1

Conditionally show or hide WooCommerce shipping and payment methods based on cart, customer, billing and shipping rules.

Description

Rotozoom Conditions lets you control which WooCommerce payment and shipping methods are available at checkout, based on flexible rules. Hide Cash on Delivery for certain countries, disable a courier above a weight limit, add a fee for specific payment methods, or show a custom notice — all without code.

Unlimited payment and shipping rules, with every condition and every action included.

Each rule combines one or more conditions (with AND/OR logic) with one or more actions. Rules are evaluated live during checkout, including AJAX checkout updates.

A rule can also announce itself to the customer: show a notice on the product page, in the cart and at checkout — either “you qualify” when the rule is met, or an “almost there” progress message such as “Add 2 more items for free shipping”, computed from the same rule the checkout enforces.

Conditions

  • Cart: subtotal, item count, coupon
  • Products: products, quantity of selected products, categories, tags, shipping class, product types, stock status
  • Billing: country, state, city, postcode, company, email, phone
  • Shipping: country, state, city, postcode, company
  • Customer: logged-in state, user role
  • Payment rules: selected shipping method
  • Shipping rules: weight, volume, total height / length / width

Actions

  • Payment: disable methods, enable only specific methods, add a fee, discount (fixed or %, from the cart, products or categories, with a maximum), gift product, show a “no methods” message
  • Shipping: disable methods, enable only specific methods, set a method title, shipping discount (fixed or %, with a maximum), show a notice

Customer notices

  • Per-rule notices on three surfaces: product page, cart and checkout — each with its own editable text
  • Two footings: a “condition met” message, and a progress message with {shortfall}, {have}, {need}, {gaps} and {rule} placeholders
  • Works in the block-based Cart and Checkout (WooCommerce Blocks / Store API) as well as classic shortcode pages
  • [rotozoom_conditions_notice] shortcode for page builders and block templates
  • Inline or popup display style per rule (popups show once per session); rzwc_notice_html filter for full markup control
  • Progress advice is only offered for conditions a shopper can actually act on (subtotal, item count, weight, dimensions) — a rule about billing country or a coupon stays silent instead of giving absurd advice

Highlights

  • Separate rule sets for payment and shipping methods
  • Priority ordering with drag & drop
  • Works with WooCommerce High-Performance Order Storage (HPOS)
  • Reads live checkout address fields during AJAX order review
  • Translation-ready

More from Rotozoom

The rules list shows a small, closable “More from Rotozoom” box with links to our other WooCommerce plugins (shipping and couriers, B2B trade accounts, product filters, warranties). It appears only on this plugin’s own screen, never on your storefront, loads nothing from the internet, and is gone for good once you close it.

External services

None. This plugin does not connect to, send data to, or load any code from external services. It runs entirely on your own site. The “More from Rotozoom” box contains plain links to rotozoom.com; nothing is requested from that site unless you click one.

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install it through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Make sure WooCommerce is installed and active.
  4. Open Rotozoom Conditions in the admin menu and add your first payment or shipping rule.

FAQ

Does it require WooCommerce?

Yes. The plugin extends WooCommerce checkout and will show a notice if WooCommerce is not active.

Is it compatible with HPOS (High-Performance Order Storage)?

Yes. The plugin declares HPOS compatibility.

Does it send any data to external servers?

No. The plugin is fully self-contained and makes no external network requests.

How many rules can I create?

As many payment and shipping rules as you need. Every condition and action is available.

Does it work with the Cart and Checkout blocks?

Yes. Rules apply to both the block-based and the classic (shortcode) cart and checkout, and customer notices are shown in both.

How do I show the currency in a notice?

The placeholders {shortfall}, {have} and {need} are plain numbers, so the notice reads correctly in any currency and language. Write the symbol in the text yourself, for example “Add €{shortfall} more and delivery is free.”

The shortcode shows nothing on my landing page

Outside the cart, checkout and product pages the shortcode cannot guess which notices to show. Name the surface: [rotozoom_conditions_notice surface="cart"].

In which order are rules applied?

In the order of the list. Drag and drop the rows to change it.

Screenshots

Changelog

1.3.1.1

  • Fixed: with several shipping packages (a split cart), a payment rule on “Shipping method” looked only at the first package’s method. Now “is” is met when any chosen method is in the list, and “is not” when none is.
  • Fixed: “Show notice” appeared once per shipping package; now it appears once.

1.3.1

  • “Quantity of one product” can count within shipping classes, as well as products and categories: for example “every product of the class Box of 4 in multiples of 4”.
  • New option on “Quantity of one product”: “Count each variation separately” (2 + 2 of two sizes are then two products of 2, not 4 of one).
  • Fixed: a condition that names only categories counted every variable product in the cart as part of them, so “4 of one product in category X” could be met by 4 of a variable product from another category.
  • An offer about a shipping class is shown on the pages of the products in that class.
  • “Show methods” is renamed “Show shipping/payment methods only when the conditions are met”, explains that every other customer does not see those methods, and asks before saving such a rule with conditions.
  • The rules list shows what each condition is about (number, products, categories, shipping classes).
  • With Rotozoom Sell & Ship: shipping actions and the “Shipping method” condition can name “All Rotozoom Sell & Ship couriers”, which also covers couriers and zones added later.

1.3.0.1

  • The message shown when a coupon is refused is escaped before output.

1.3.0

  • New action “Discount”: a fixed amount or a percentage off the whole cart, selected products or selected categories, with an optional maximum.
  • New action “Shipping discount”: a fixed amount or a percentage off the selected shipping methods (or all), with an optional maximum.
  • New action “Gift product”: adds a chosen product free to the cart while the rule’s conditions are met and removes it when they are not. Only when in stock; the gift never counts towards the conditions that grant it.
  • Saved products in the rule editor are shown by name instead of by number.
  • New condition “Quantity of one product”: the units of the single product with the most of them among the products or categories you pick — “4 of the same liquid” is met by 4 of one, not by 3 of one plus 1 of another.
  • New action “Coupon only when the conditions are met”: the selected coupons are accepted only while the rule is met (classic checkout, block checkout and direct Store API requests alike) and are removed from the cart, with your message, as soon as it is not.
  • Shipping discounts on Sell & Ship couriers are recorded on the order, so with cash on delivery the shop, not the customer, pays the courier (with an older Sell & Ship its couriers get no discount).
  • Saved coupons in the rule editor are shown by their code.

1.2.4

  • New condition “Quantity of selected products”: counts only the units of the products you pick (variations count for their product), so “buy 8 of this” is no longer met by 3 of it plus 5 of something else.
  • Product-page notices now also appear with themes and page builders that skip WooCommerce’s product summary hook (for example XStore’s single product builder).
  • Shipping methods in the rule editor are listed by method name and the plugin that provides them, with the zone in brackets.

1.2.3.5

  • Fixed: the payment rule action “Message (no methods)” now shows its text at checkout (classic checkout and the Checkout block) when no payment method is left, in place of the WooCommerce default sentence. Before, the message was saved but never shown.
  • “Message (no methods)” is now available in shipping rules too: the cart and checkout show it when no shipping method is left.
  • The editor explains under that action that it only shows a message: add “Hide payment methods” (or “Hide shipping methods”) to the same rule to remove the methods.

1.2.3.4

  • Maintenance release: no change to rules, conditions or notices.

1.2.3.3

  • Maintenance release: no change to rules, conditions or notices.

1.2.3.2

  • Maintenance release: no change to rules, conditions or notices.

1.2.3

  • Every text in the rule editor can now be translated, including the fields the editor adds on the fly.
  • Numbers in customer notices follow the shop’s number format (for example 24,50 instead of 24.50).

1.2.2

  • Shortcode output is escaped at the return boundary.
  • Translations for the WordPress.org version are loaded by WordPress from translate.wordpress.org.

1.2.1

  • Fixed: rule amounts (order-value thresholds and fees) are converted only when the cart itself is in another currency, and then exactly once. A currency switcher that only shows reference prices no longer affects them.

1.2.0

  • Unlimited payment and shipping rules.
  • New: a small, closable “More from Rotozoom” box on the rules list.

1.1.6

  • Fixed a “translation loading too early” notice that WordPress 6.7+ logged on every request.
  • Customer-notice markup is now escaped on output.

1.1.0

  • New: a rule can announce itself to the customer — configurable notices on the product page, in the cart and at checkout.
  • New: separate editable messages for “condition met” and “almost there” states, with placeholders such as {shortfall}, {have} and {need} (e.g. “Add 2 more items for free shipping”).
  • New: notices also render inside the block-based Cart and Checkout (WooCommerce Blocks / Store API).
  • New: [rotozoom_conditions_notice] shortcode for page builders and block templates.
  • New: inline or popup display style per rule, plus a rzwc_notice_html filter for full markup control.

1.0.3

  • Conditional payment and shipping method rules with 20+ conditions.
  • Add-fee, disable/enable methods, custom notices and titles.
  • HPOS compatible; live AJAX checkout address evaluation.