Hi, thank you so much for your fabulous module.

I've been trying to set up:

  • when user buys a file download
  • also want to give them a role (to access addition info.)
  1. Set up a product variation: file plus role
  2. Set up product type: file plus role
  3. Added product with variations: file plus role (available for 1 year)

Issue is when user buys, they can access the file, but the role doesn't register.

Any ideas please?

Comments

Liliplanet created an issue. See original summary.

liliplanet’s picture

Truly 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?

liliplanet’s picture

Sorry to ask again, but is there any capability with one product checkout to have a file download as well as a role license?

liliplanet’s picture

Or 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?

rszrama’s picture

Version: 3.0.0 » 3.0.x-dev
Status: Active » Fixed

Unfortunately, this is not supported by the 3.x branch. The module adds a license reference field to any order item with the OrderItemLicensed trait 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.

liliplanet’s picture

Hi rszrama, thank you so much for your reply and an excellent solution! Perfect 🌷

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.