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.
OrderBadger can automatically flag orders that contain products in any specific WooCommerce category, including Electronics.
Stores that sell electronics alongside other product types and need to ensure electronics items receive appropriate handling during fulfilment.
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
Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.
Make it yours
- 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 '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
When this rule matches
When this rule does not match
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