Assigning EULAs to Products #
After creating and activating an EULA document, you assign it to the products that require acceptance.
Assignment Levels #
DDLS supports three assignment levels:
| Level | Where Set | Applies To |
|---|---|---|
| Product | WooCommerce product edit page | That specific product |
| Variation | Product variation panel | That specific variation only |
| Category | WooCommerce product category edit page | All products in that category |
Priority order: If a product has both a product-level assignment and a category-level assignment, the product-level assignment takes precedence.
Assigning to a Simple Product #
- Go to WooCommerce > Products and open the product
- Click the Licensing tab in the Product Data metabox
- Scroll to the EULA Assignment section at the bottom of the Licensing tab
- Open the EULA Document dropdown
- Select the active EULA document to assign
- Click [Update] to save
After saving, customers visiting this product’s page will see the acceptance checkbox before the add-to-cart button.
Assigning to a Product Variation #
- Go to WooCommerce > Products and open the variable product
- Click the Variations tab
- Expand the variation you want to assign an EULA to
- Scroll to the EULA Assignment section in the variation panel
- Select the EULA document from the dropdown
- Click [Save changes]
Variation-level assignments override product-level and category-level assignments for that specific variation.
Assigning to a Product Category #
- Go to WooCommerce > Products > Categories
- Click the category to edit
- Scroll to the EULA Assignment section
- Select the EULA document from the dropdown
- Click [Update]
All products in this category will use this EULA unless they have a product-level or variation-level assignment that overrides it.
Removing an Assignment #
To remove an EULA assignment, select the blank option (“– No EULA –“) in the assignment dropdown and save.
What Customers See #
When a product has an active EULA assignment:
- A “License Agreement” tab appears on the WooCommerce product page
- An acceptance checkbox appears before (or after) the add-to-cart button
- The checkbox label is customizable in Settings > EULA
- The customer must check the checkbox before they can add the product to their cart
