Task ID: t524 | Status: open | Estimate: ~4h
Logged: 2026-04-03
Tags: enhancement auto-dispatch
Description
Re-implement the simple checkout form preset (originally in PR #740, closed due to merge conflicts with main).
What
Add a simple checkout form template where customers only enter their email address — username, password, site title, and site URL are all auto-generated server-side.
Why
PR #740 implemented this feature but was closed due to merge conflicts. The feature is valuable for reducing checkout friction. The branch feature/simple-checkout still exists and can be used as reference.
How
Reference PR #740 for the implementation approach:
inc/checkout/signup-fields/class-signup-field-password.php — add auto_generate_password toggle
inc/checkout/class-checkout.php — resolve password via wp_generate_password(16) when auto-generate is set; strip password validation rules
inc/models/class-checkout-form.php — add simple to template enum and use_template()
inc/apis/schemas/checkout-form-create.php + checkout-form-update.php — add simple to template field enum
- Add unit tests for the new template and auto-generate behavior
Acceptance Criteria
Reference
aidevops.sh v3.5.906 plugin for OpenCode v1.3.0 with claude-sonnet-4-6
Task ID:
t524| Status: open | Estimate:~4hLogged: 2026-04-03
Tags:
enhancementauto-dispatchDescription
Re-implement the simple checkout form preset (originally in PR #740, closed due to merge conflicts with main).
What
Add a
simplecheckout form template where customers only enter their email address — username, password, site title, and site URL are all auto-generated server-side.Why
PR #740 implemented this feature but was closed due to merge conflicts. The feature is valuable for reducing checkout friction. The branch
feature/simple-checkoutstill exists and can be used as reference.How
Reference PR #740 for the implementation approach:
inc/checkout/signup-fields/class-signup-field-password.php— addauto_generate_passwordtoggleinc/checkout/class-checkout.php— resolve password viawp_generate_password(16)when auto-generate is set; strip password validation rulesinc/models/class-checkout-form.php— addsimpleto template enum anduse_template()inc/apis/schemas/checkout-form-create.php+checkout-form-update.php— addsimpleto template field enumAcceptance Criteria
simpletemplate available in checkout form presetsReference
feature/simple-checkout(still exists, use as reference only — do NOT reopen)aidevops.sh v3.5.906 plugin for OpenCode v1.3.0 with claude-sonnet-4-6