Closed (won't fix)
Project:
Ubercart Product Keys
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Dec 2010 at 11:34 UTC
Updated:
9 Dec 2011 at 18:39 UTC
Hello!
I try this module and receive the error "Failed to obtain product key(s) for ".
Can you help me with them?
Comments
Comment #1
freixas commentedSure.
Comment #2
alexd73 commentedYes! Its my mistake as in the second item! I has looked the source code in which shows this error and then I have understood it.
Now I want extend the module to generate a keys by the rules ([$nid] - [Unique code] ). How to I can make it?
Comment #3
freixas commentedWhy would you want to store the $nid in the key? The $nid is already associated with the product key in the database.
If you really want to do this, you will need to generate product keys dynamically. Read the README.txt file and study the included sample project. Once you understand how uc_product_keys works, you should find it easy to generate whatever kind of key you want.
Comment #4
freixas commentedClosed due to no activity in over 2 weeks.