Closed (fixed)
Project:
Commerce License
Version:
3.0.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2023 at 02:42 UTC
Updated:
9 Aug 2024 at 07:19 UTC
Jump to comment: Most recent
Comments
Comment #2
liliplanet commentedTruly hoping for someone to respond 🙏
I have tried product variation types that include file and role, but on checkout only the file becomes available
Is it possible that a product licenses a file and a role at the same time please?
Comment #3
liliplanet commentedSorry to ask again, but is there any capability with one product checkout to have a file download as well as a role license?
Comment #4
liliplanet commentedOr even the other way around: product type variation is role plus a file .. would be so awesome please.
How can i offer 2 licences: file download and a role at the same time please?
Comment #5
rszrama commentedUnfortunately, this is not supported by the 3.x branch. The module adds a
licensereference field to any order item with theOrderItemLicensedtrait with a single value cardinality, meaning you cannot use a single product variation to grant multiple licenses. I don't know why the module was writen that way, as I can envision multiple scenarios where granting multiple licenses would be desirable, but the only way to accomplish this right now would be through a custom license type.That said, if you want a no code option, you could use a Buy X, Get Y promotion to add a free product to the cart that represents one or the other of the licenses ... thus when the customer completes checkout, they actually have two order items that each generates a license.
Comment #6
liliplanet commentedHi rszrama, thank you so much for your reply and an excellent solution! Perfect 🌷