• Thanks for the plugin. I am working on variable products in my site. Iteied to set up lisence keys for same product with different variable option. But the problem is that in the order confirmation page it cannot show the license key is used for which variable option.

    E.g. I have aproduct called T-shirt and user can select the variable color, yellow or blue. When the user buy a yellow and a blue T-shirt. After payment, it only shows T-shirt license key: 12345 and T-shirt license key:67890. User will not know which license key is for the blue one and which is for the yellow one. How can I make it show the license value beofre the license key display? Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • @thisvo Hi,

    Hope you are doing good.

    I have tested this issue on my staging websites and its working fine see attached screenshot here its assigning keys to a specific variable products.

    It seems like the theme or some other plugin is conflicting with the Our plugin Can you change the theme to WordPress default 2022 or deactivate the plugins one by one and check if the issue still persists or not.

    Thanks

    Thread Starter thisvo

    (@thisvo)

    Thanks for your reply.
    I checked the site according to your advice. I found out the problem will occur when more than 1 variable is set. For example, when I set size and color for my T-shirt item, it won’t show variable options but it works when only 1 variable is set.
    How can I fix this? Thank you for your help.

    • This reply was modified 2 years, 4 months ago by thisvo.

    @thisvo

    let me test it on my staging sites and get back to you soon.

    Thanks

    @thisvo

    Again we tested and it’s working fine.

    You can check the screenshots below.
    https://www.awesomescreenshot.com/image/29814835?key=5a28986f222595d85ff08ddf6741a7ff
    https://www.awesomescreenshot.com/image/29814834?key=e31288ca4d658a883d4be95c2fa615af

    It seems like the theme or some other plugin is conflicting with the Our plugin Can you change the theme to WordPress default 2022 or deactivate the plugins one by one and check if the issue still persists or not.

    Thanks

    Thread Starter thisvo

    (@thisvo)

    As you can see in the screenshot you provided, in the license key part, it does not show the selected option. It only shows ‘BBQ chicken’ but not the size and flavor variable selected. So it might be confusing if users buy two BBQ chicken with different size and flavor at same time as all license key title will be ‘BBQ chicken’ only. How can I fix this? Thanks.

    @thisvo

    Ok, then it’s not possible at the moment, We will try to add this feature in our future release.

    Thanks

    @thisvo I do believe this is possible, actually. Is this what you are intending to do? The first key (Y08-6AB-KNL) is with the second variation left unselected.

    Product page with two variations:

    View post on imgur.com

    Generated variation-specific license keys:

    View post on imgur.com

    License keys listing on user account page:

    View post on imgur.com

    Product attributes with the “Use as variation” option enabled do not actually create a specific “sub product” (aka, unique product id for that variation combination) if they are not specified explicitly as a variation. In other words, any attributes prefixed with “Any ___” get added to the order as meta data for a single product id. Both items in this picture have a different value for the “warranty” attribute, but they’re still the same product (#34050136: Trial Time – 3 days), and share the same stock/shipping/price: https://i.imgur.com/5GoH9cr.png.

    The plugin associates license keys to a product id, but does not attempt to query the product attribute meta data (and imo, this is how it should be), so in the previous image, the warranty value won’t actually show up with your license key.

    In your case, you need a different variation for each possible attribute combination; use the “create variations from all attributes” option to create them all at once. Then edit each one to be virtual with the correct price and license key options. Both possible values for the “warranty” attribute now have unique sub-product ids, and are two distinct products instead of one product with different meta data: https://i.imgur.com/rhSteyu.png.

    • This reply was modified 2 years, 4 months ago by Stelio Kontos. Reason: fixed screenshot link
    • This reply was modified 2 years, 4 months ago by Stelio Kontos.

    @steliokontos thanks for sharing this.

    Thread Starter thisvo

    (@thisvo)

    @steliokontos Yes, it is what I am expecting. I will try it and see if I can get the same result.
    But what if I selected both variations, can it display the same result on the billing confirmation page?
    Thank you so much.

    • This reply was modified 2 years, 3 months ago by thisvo.

    @thisvo not sure I follow…could you post a screenshot of what you’re referring to? The screenshots in my last post (https://i.imgur.com/rhSteyu.png) are from the cart page, which would match what’s shown during checkout and confirmation.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘License Key for variable product’ is closed to new replies.