Skip to content

"Activation Limit" and "Valid For" fields missing from Key Details form when adding a new key while "Disable Software Support" is enabled #534

Description

@emarufh

Description:

When the "Disable software support" option is enabled in WC Serial Numbers settings, the "Activation Limit" and "Valid for" fields are removed from the Key Details form while adding a new key. This appears to be unintended, since these two fields are related to license key activation and expiry, not software support, so they should remain available regardless of the software support setting.

Steps to Reproduce:

  1. Go to WooCommerce > Settings > General
  2. Enable "Disable software support"
  3. Save changes
  4. Go to add a new Serial Key (Key Details form)
  5. Observe the form fields
Image Image

Expected Behavior:

"Activation Limit" and "Valid for" fields should remain visible and functional in the Key Details form, since they control key activation limits and expiry, independent of whether software support is enabled or disabled.

Actual Behavior:

"Activation Limit" and "Valid for" fields are hidden/removed from the Key Details form when "Disable software support" is enabled, preventing admins from setting these values on new keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions