I have a SWF file on my Magento site that allows customers to pick from options and get a visual representation of the resulting product. This SWF file then outputs half a dozen or so parameters and 2 images that are all written to a database. All of this works fine.
My question is how do I add a product to the Magento cart that has some of this information (even if it is just the db key from the other db) attached to it?
I have thought about creating lots of blank hidden products and adding the product with the same id as the db key to the cart by forwarding the browser to [Magento URL]/index.php/checkout/cart/add/uenc/,/product/[db Key\product ID]/ or programmatically create a new product but I feel there must be a better way as I just want to configure a configurable product and submit a hidden integer and string .
Thanks in advance, Norman