Online pharmacies operate under strict regulatory frameworks that limit how much of certain products a single customer can purchase in one transaction. Paracetamol, codeine-containing products, and other over-the-counter medicines are commonly restricted to small quantities. Dispatching an order that breaches these limits exposes the retailer to regulatory penalties and creates a genuine public safety concern.
OrderBadger can flag pharmacy orders that exceed a quantity threshold and require pharmacist approval before dispatch, with a 1-hour SLA to keep the review process tight.
Online pharmacies, health retailers with a medicines category, and any WooCommerce store selling regulated health products that carry per-order quantity restrictions.
How it works
Checks two conditions: at least one product must be in the Pharmacy or Medicines category, AND total quantity across all items in the order must exceed £3. When triggered, the order lands in your inbox with Approved/Rejected interaction buttons and a 60-minute SLA that starts from the moment the order is created.
Route these orders to your pharmacist or compliance officer for review. If the quantity is within regulatory limits for the specific products ordered, mark as Approved and dispatch. If the order breaches quantity restrictions, mark as Rejected and contact the customer to explain the limit and offer to split the order.
Rule template
Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.
Make it yours
- Raise 'more than £3' to 'more than £5' if your regulatory environment allows higher quantities per transaction and you want to reduce false positives.
- Lower 'more than £3' to 'more than £1' for products with stricter limits, such as codeine-containing medicines where some jurisdictions restrict to 1 pack per sale.
- Add 'and customer has 0 previous paid orders' to apply stricter scrutiny on first-time buyers, where the risk of stockpiling is harder to assess. …acy or Medicines category and total quantity is more than £3 and customer has 0 previous paid orders
- Add 'or at least one product is in the Controlled Substances category' if you sell products under additional regulatory categories beyond Pharmacy and Medicines. …acy or Medicines category and total quantity is more than £3 or at least one product is in the Controlled Substances category
Badge preview
This badge appears in the WooCommerce order view with action buttons. Your team can respond directly from the badge pill.
When this rule matches
When this rule does not match
Workflow
This rule includes workflow features that help your team act on flagged orders.
Good to know
- The quantity threshold applies to total order quantity, not per-product quantity. An order with 2 different medicines at quantity 2 each totals 4 and triggers the badge.
- Regulated quantity limits vary by product and jurisdiction. The fixed threshold of 3 is a conservative starting point - your pharmacist should determine the appropriate limit for your product range.
- The rule does not prevent the order from being placed. It flags it post-purchase for manual review before dispatch.
Frequently asked questions
-
What happens if the pharmacist does not respond within the 60-minute SLA?The SLA shows as breached in the OrderBadger dashboard, but the order is not automatically cancelled or released. The breach serves as an escalation signal that the review is overdue.
-
Does total quantity count non-pharmacy items in the order?Yes. The total quantity condition counts all items in the order, not just pharmacy items. This is intentional - a large mixed basket that includes medicines warrants the same scrutiny.
-
Can I set different limits for different product types?Not within a single rule. Create separate rules for each product type with different quantity thresholds - for example, one rule for paracetamol at quantity 2 and another for antihistamines at quantity 5.
-
Is the Rejected button connected to WooCommerce order status?No. The interaction buttons record a decision within OrderBadger. Your team must manually update the WooCommerce order status (cancel, refund, or hold) based on the rejection.
Related rules
Try this rule in your store
OrderBadger is free on WordPress.org. Install it and create this rule in minutes - no code required.
Install OrderBadger Free