EULA Assignment on Products #
Version note: EULA Assignment on the product edit page was introduced in v2.0.0 as part of the EULA & Terms system.
Prerequisites #
Before assigning an EULA to a product:
- The EULA system must be enabled in DDLS > Settings > EULA
- At least one EULA document must exist with Active status in DDLS > Developer > EULA Library
The EULA Assignment Field #
The EULA Assignment section appears at the bottom of the Licensing tab on the WooCommerce product edit page.
Dropdown: Select an active EULA document to assign to this product, or select “– No EULA –” to remove an assignment.
When an EULA is assigned:
- A “License Agreement” tab appears on the product’s frontend page showing the full agreement text
- An acceptance checkbox appears before (or after) the Add to Cart button
- Acceptance is recorded when the customer completes a purchase
Assignment Scope and Priority #
EULAs can be assigned at three levels. If multiple assignments exist, the most specific one wins:
| Level | Set Where | Priority |
|---|---|---|
| Category | WooCommerce > Products > Categories > Edit | Lowest |
| Product | WooCommerce > Products > Edit > Licensing tab | Middle |
| Variation | WooCommerce > Products > Edit > Variations > expand | Highest |
Example: If Category “Plugins” has EULA A assigned, but Product “My Plugin” has EULA B assigned, customers see EULA B when purchasing “My Plugin”.
