You've already forked wc-licensed-product
Implement version 0.0.10 features
- Add license meta box on WooCommerce order edit pages - Add editable order domain field with AJAX inline editing - Add editable license domains directly from order page - Add licenses table showing all licenses for an order - Support both classic orders and HPOS New files: - src/Admin/OrderLicenseController.php - assets/js/order-licenses.js New method: LicenseManager::getLicensesByOrder() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
32
CLAUDE.md
32
CLAUDE.md
@@ -36,10 +36,9 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w
|
||||
|
||||
None currently known.
|
||||
|
||||
### Version 0.0.10
|
||||
### Version 0.0.11 (planned)
|
||||
|
||||
- Add a license related form section to the orders form in the admin area
|
||||
- Make license domains editable in the backend
|
||||
- TBD - no specific features planned yet
|
||||
|
||||
## Technical Stack
|
||||
|
||||
@@ -527,3 +526,30 @@ Full API documentation available in `openapi.json` (OpenAPI 3.1 specification).
|
||||
- `$wpdb->insert()` now only includes `attachment_id` field when it has a valid value
|
||||
- Added error logging for version creation failures to aid debugging
|
||||
- Improved meta box visibility logic for new products
|
||||
|
||||
### 2026-01-21 - Version 0.0.10 Features
|
||||
|
||||
**Implemented:**
|
||||
|
||||
- License meta box on WooCommerce order edit pages
|
||||
- Editable order domain field with AJAX-based inline editing
|
||||
- Editable license domains directly from the order page
|
||||
- Licenses table showing all licenses associated with an order
|
||||
- Support for both classic orders and HPOS (High-Performance Order Storage)
|
||||
|
||||
**New files:**
|
||||
|
||||
- `src/Admin/OrderLicenseController.php` - Order page license integration
|
||||
- `assets/js/order-licenses.js` - JavaScript for inline domain editing
|
||||
|
||||
**New methods in LicenseManager:**
|
||||
|
||||
- `getLicensesByOrder()` - Get all licenses for a specific order
|
||||
|
||||
**Technical notes:**
|
||||
|
||||
- Meta box automatically detects HPOS vs classic order storage
|
||||
- AJAX handlers for updating both order domain and individual license domains
|
||||
- Domain validation with normalization (strips protocol, www prefix)
|
||||
- Inline edit UI with save/cancel for license domains
|
||||
- Links to full licenses management page for advanced actions
|
||||
|
||||
Reference in New Issue
Block a user