title: Best Way to Pass variable to Woocommerce Product?
body: <p>Here is the setup.</p>
  
  <p>Customer fills out form of information for product specifications. This creates an entry in the db with a unique detailsID. </p>
  
  <p>They then are taken to a product page, with many variables. They select the variable product and checkout. </p>
  
  <p>Now in the db they have an order as well as a separate table with the details of their request. </p>
  
  <p>What is the best way to connect the product they bought with the detailsID?</p>
  
  <p>I would like to basically pass the detailsID to the product page, then add this detailsID to the product. Or add the orderID back into the details table. </p>
  
  <p>I keep going around whether to add this as meta data, or use a session, or just do post order logic to add the order ID back into the details table. </p>
  
  <p>I really just need to link the two once the order completes but am not sure the best method to do this. I am pretty new to Woocommerce so don't know a lot of the hooks yet. </p>
  
  <p>Thank you so much for your suggestions!</p>