1.7.0: shipping rule "Only" reserves a method, "Show" no longer does #2

Merged
kw merged 4 commits from shipping-only into main 2026-10-02 11:24:15 +00:00
Owner

Summary

  • Since 1.6.0 a shipping rule set to Show both whitelisted the method for its group and hid it from everybody else. A group shown ordinary methods next to a free-delivery one took the ordinary ones away from every stranger (live: a private-window checkout saw only "Fri levering til Runen").
  • New rule value Only carries the reservation. Show is just the group's whitelist.
  • Existing Show rows are converted to Only once on update, so the checkout is unchanged until the shop chooses.
  • Admin radio, REST validation, docs and changelog updated.

Test plan

  • ci/static.sh, ci/selftest.sh green
  • ci/site-test.sh: All 73 assertions passed (new: show does not reserve, only does, member sees both in rule order, update migrates show to only once)
  • Planted fault (reservation back on show, migration off): 5 assertions went red, then restored

🤖 Generated with Claude Code

## Summary - Since 1.6.0 a shipping rule set to Show both whitelisted the method for its group and hid it from everybody else. A group shown ordinary methods next to a free-delivery one took the ordinary ones away from every stranger (live: a private-window checkout saw only "Fri levering til Runen"). - New rule value **Only** carries the reservation. **Show** is just the group's whitelist. - Existing Show rows are converted to Only once on update, so the checkout is unchanged until the shop chooses. - Admin radio, REST validation, docs and changelog updated. ## Test plan - [x] ci/static.sh, ci/selftest.sh green - [x] ci/site-test.sh: All 73 assertions passed (new: show does not reserve, only does, member sees both in rule order, update migrates show to only once) - [x] Planted fault (reservation back on show, migration off): 5 assertions went red, then restored 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kw added 2 commits 2026-10-02 10:39:42 +00:00
Since 1.6.0 "Show" both whitelisted a method for its group and hid it from
everybody else. A group shown ordinary methods next to a free one therefore
took the ordinary ones away from every stranger, who was left with only the
free method. "Only" now carries the reservation; "Show" is just the group's
whitelist. Existing show rules are converted to only once on update so the
checkout does not change until the shop chooses.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Docs: avoid naming the release in prose; site-test count is 73
CI / Static checks (pull_request) Failing after 31s
Compatibility / WP latest / WC latest / PHP 7.4 (pull_request) Skipped
Compatibility / WP latest / WC beta / PHP 8.3 (pull_request) Skipped
Compatibility / WP latest / WC latest / PHP 8.3 (pull_request) Skipped
Compatibility / WP nightly / WC latest / PHP 8.3 (pull_request) Skipped
Compatibility / WP latest / WC latest / PHP 8.4 (pull_request) Skipped
Compatibility / Keep the compatibility headers honest (pull_request) Skipped
CI / WordPress latest + WooCommerce latest on PHP 8.3 (pull_request) Successful in 1m20s
c3fdec4e04
Co-Authored-By: Claude Code <noreply@anthropic.com>
kw added 2 commits 2026-10-02 10:43:07 +00:00
Re-sync check-docs.php with the family, and let it run where git does not
CI / WordPress latest + WooCommerce latest on PHP 8.3 (pull_request) Successful in 1m18s
Compatibility / WP latest / WC latest / PHP 7.4 (pull_request) Skipped
Compatibility / WP latest / WC beta / PHP 8.3 (pull_request) Skipped
Compatibility / WP latest / WC latest / PHP 8.3 (pull_request) Skipped
Compatibility / WP nightly / WC latest / PHP 8.3 (pull_request) Skipped
Compatibility / WP latest / WC latest / PHP 8.4 (pull_request) Skipped
Compatibility / Keep the compatibility headers honest (pull_request) Skipped
CI / Static checks (pull_request) Successful in 4m38s
ce160692a7
Takes woo-security-manager's current checker (sibling-hook boundary via FAMILY_PREFIXES, table-row scoping), keeping the floor in ci/plugin.conf. dist-files.sh now lists the same files in a git-less copy, which is what ci_php's php container is handed on the Gitea runner; before, check-docs failed there with exit 127.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Merge branch 'recopy-check-docs' into shipping-only
CI / WordPress latest + WooCommerce latest on PHP 8.3 (pull_request) Successful in 1m39s
Compatibility / WP latest / WC latest / PHP 7.4 (pull_request) Skipped
Compatibility / WP latest / WC beta / PHP 8.3 (pull_request) Skipped
Compatibility / WP latest / WC latest / PHP 8.3 (pull_request) Skipped
Compatibility / WP nightly / WC latest / PHP 8.3 (pull_request) Skipped
Compatibility / WP latest / WC latest / PHP 8.4 (pull_request) Skipped
Compatibility / Keep the compatibility headers honest (pull_request) Skipped
CI / Static checks (pull_request) Successful in 5m27s
1752bcf8dd
kw merged commit 4a93a5fde8 into main 2026-10-02 11:24:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kw/nolimit-discounts#2