Electronics

How to flag electronics orders for special handling in WooCommerce

Flag orders containing products in the Electronics category

Automatically badges orders that include at least one product categorised as Electronics, so your team can apply extra handling, warranty checks, or packaging requirements.

Review info
The problem

Electronics products often require anti-static packaging, serial number tracking, or warranty documentation. Without a visual flag, these orders may be packed like any other item, risking damage or missing paperwork.

The solution

OrderBadger can automatically flag orders that contain products in any specific WooCommerce category, including Electronics.

Who this is for

Stores that sell electronics alongside other product types and need to ensure electronics items receive appropriate handling during fulfilment.

At a glance
Checks for Electronics category on any line item All customers and order values eligible One qualifying item is enough to trigger Badge: Electronics (purple, info)
People also search for
flag electronics orders WooCommerce badge orders containing electronics products WooCommerce highlight orders by product category how to identify electronics orders in WooCommerce admin WooCommerce category-based order tagging

How it works

Scans the product categories on each line item and adds a badge when at least one item belongs to the Electronics category. The badge appears on the orders list and order detail view.

Use anti-static packaging for electronics items. Verify serial numbers if applicable, and include any required warranty documentation in the shipment.

Rule template

Plain English rule Order contains a product in the Electronics category

Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.

Make it yours

Adjust thresholds
  • Change 'Electronics' to your store's actual category name if it differs - e.g. 'Tech', 'Gadgets', or 'Electrical'. The name must match your WooCommerce category exactly.
Add or remove conditions
  • Add 'and order total is over £100' to only flag higher-value electronics orders that justify the extra handling and warranty documentation effort. Order contains a product in the Electronics category and order total is over £100
  • Add 'or at least one product is in the Fragile category' to extend special packaging handling beyond electronics to other delicate items in a single rule. Order contains a product in the Electronics category or at least one product is in the Fragile category

Badge preview

Default: Electronics

When this rule matches

Order With Electronics Item
Order contains a product in the Electronics category, so the rule matches.

When this rule does not match

Clothing Only Order
Order contains only Clothing products, no Electronics category present.
Empty Categories Order
Order items have no categories assigned, so Electronics is not present.

Good to know

  • The category name must match exactly as configured in WooCommerce. Sub-categories are not automatically included unless they are also named Electronics.
  • If a product is miscategorised in WooCommerce, the badge will not appear for that order.

Frequently asked questions

  • Does this match sub-categories like 'Electronics > Headphones' automatically?
    No. The rule matches the exact category name 'Electronics'. Products in sub-categories are only matched if they are also directly assigned to the parent Electronics category in WooCommerce.
  • Can I adapt this rule for a different category like 'Fragile' or 'Perishable'?
    Yes. Edit the rule text to replace 'Electronics' with your desired category name and recompile. The logic works the same for any WooCommerce product category.
  • What happens if a product has no categories assigned?
    Products with no categories will not trigger this badge. The rule requires at least one item to have 'Electronics' in its category list, so uncategorised products are ignored.
  • If an order has 5 items and only 1 is Electronics, does the badge appear?
    Yes. The rule triggers when at least one item in the order belongs to the Electronics category. It does not matter how many non-Electronics items are also in the order.

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