After following this thread, I was going to wait until an e-commerce extension was made available. But I thought trying to build one would be good experience learning how to use sessions and understanding better how to xfer dynamic info from one page to another. So…
Per Teodor’s note above, I added a session variable to my server connection:
Then I set up the query conditions:
Then I added Teodor’s session code to the top of the involved pages:
Then I opened my gallery catalog page with repeating data rows and looked for a way to have the catalog item info set in session state and be carried over to the orderform. But here’s where I hit a dead end. The button, as shown in the capture, captures the Item Number OK (which I’m using as my unique identifier) and appends it to the URL as it opens the orderform page.
Now what needs to happen, and where I need a lot of direction, is how to get the related data fields in the orderform be populated with the user-selected catalog item info so it can be inserted into a MySQL dB -AND- send an order email notice to the site owner.
Any suggestions or help to chip away at this challenge would be greatly appreciated.
My test site is available for review at: http://statecollegedev.com