I had already added the fields to the order table (the order_details I referenced above was the page in the back end to view the order details)
Right
on the pp_confirm.php page I have added the 2 conditional queries:
$ConditionalQuery->bindColumn("PracticeName", "s", "".(WA_coalesce(array(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Practice_name_2'),WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Practice_name')))) ."", "WA_DEFAULT");
$ConditionalQuery->bindColumn("EyeTestConfirmation", "s", "".(WA_coalesce(array(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Eye_test_confirmation_2'),WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Eye_test_confirmation')))) ."", "WA_DEFAULT");
But the columns in the db table (PracticeName and EyeTestConfirmation) are not getting populated.
Not sure if I have missed anything with those fieds on the checkouot.php page ?