Set setting during product install based with value from query
Hi,
For the installation of a product I can write install code. In this install code I can run a query which inserts a record in a table and get the identifier back by using the $db->insert_id() statement. I also create a setting for my product in the product xml file.
Now I want to insert the value from the identifier inserted as default in that setting during installation. Is this possible and how?
Thanks in advance for any help!
- ZexTasy
|