Storage Map
| Data | Storage | Key |
|---|---|---|
| Box enabled flag | Product post meta | _is_boxbuilder_enabled |
| Box configuration | Product post meta | _boxbuilder_box_config |
| Box sizes (Pro) | Product post meta | _boxbuilder_box_sizes |
| Custom items (Pro) | Product post meta | _boxbuilder_custom_items |
| Cart box data | WC cart item data | boxbuilder_items, boxbuilder_message |
| Cart parent flag | WC cart item data | boxbuilder_is_parent |
| Cart child flag | WC cart item data | boxbuilder_is_child |
| Cart session ID | WC cart item data | boxbuilder_parent_session_id |
| Order box flag | WC order item meta | _boxbuilder_is_box |
| Order child flag | WC order item meta | _boxbuilder_is_child |
| Order parent link | WC order item meta | _boxbuilder_part_of_box |
| Order box contents | WC order item meta | _boxbuilder_contents |
| Gift message | WC order item meta | _boxbuilder_message |
| Plugin settings | wp_options | boxbuilder_* |
| Saved boxes (Pro) | User meta | _boxbuilder_saved_boxes |
| Share URLs (Pro) | WP transients | boxbuilder_share_{key} |
Box Configuration Format
The_boxbuilder_box_config meta stores a JSON array:
Cart Item Data Structure
When a box is in the cart: Parent item (the box):Order Item Meta
After checkout, the parent-child relationship is preserved:Querying Box Orders
To find orders containing boxes:Plugin Settings
All settings are stored inwp_options with the boxbuilder_ prefix:
Data Cleanup on Uninstall
When BoxBuilder is uninstalled (deleted, not just deactivated), it removes:- All
boxbuilder_*options fromwp_options - BoxBuilder-specific post meta from products
- BoxBuilder-specific user meta
_boxbuilder_* order item meta) is preserved after uninstall. This ensures historical order records remain intact.