Version Variation Support #
Version note: Version Variation Support was introduced in v2.0.0.
What It Is #
Versions can now be linked to a specific product variation. This allows you to publish tier-specific builds — for example, a “Basic” build with limited features and a “Pro” build with all features, both for the same product.
Why It Exists #
Before v2.0.0, all versions of a product were visible to all customers who purchased any variation of that product. There was no way to offer different downloads to customers based on which variation they bought.
With version variation support, you can now control exactly which builds each customer tier receives.
Database Field #
The variation link is stored as variation_id on the wp_dmsilm_versions table. A NULL value means the version applies to all variations.
Portal Filtering Logic #
When a customer views their downloads in the Customer Portal, the system filters versions using this logic:
- Get the customer’s license for the product
- Check if the license was created from a specific variation
- Show versions where
variation_idmatches the license’s variation, OR wherevariation_idis NULL (universal versions) - Hide versions linked to other variations
Setup Instructions #
- Go to DDLS > Versions > Add New
- Select the product
- In the Variation dropdown, select the target variation
- Fill in version details and attach files
- Publish the version
Example #
| Version | Variation | Who Sees It |
|---|---|---|
| v2.0.0 Basic Build | Basic ($49) | Only Basic customers |
| v2.0.0 Pro Build | Pro ($99) | Only Pro customers |
| v2.0.0 Changelog | (none) | All customers |
