Guest Posted February 28, 2007 Share Posted February 28, 2007 Hi, Take a look at www.homefarmfoods.com/questionnaire.php It will redirect you to login, login using: u: [email protected] p: test1 It takes you to the form. It pre-populates the email and postcode fields, so, fill in the form and submit it. OK you are still logged in now so add something to your cart then enter checkout Problem is no account details are in session? Any help very much appreciated. Rich Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2007 Share Posted February 28, 2007 Pretty please anyone? :sweating: Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2007 Share Posted February 28, 2007 I see. Ok its because the form does not inlcude the session with the link generate html code <form id="Questionnaire" action="questionnaire_submit.php" method="post" name="Questionnaire"> So you do not use hard-coded links with forms. And you should use the osc tep_draw_form function to create the form. Another problem I see is that the "New Year Pack" box link does not include the session perhaps you have a hard-coded link there too. Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2007 Share Posted February 28, 2007 I see. Ok its because the form does not inlcude the session with the link generate html code <form id="Questionnaire" action="questionnaire_submit.php" method="post" name="Questionnaire"> So you do not use hard-coded links with forms. And you should use the osc tep_draw_form function to create the form. Another problem I see is that the "New Year Pack" box link does not include the session perhaps you have a hard-coded link there too. Thank you for that. Is there an example I could follow to get me started with the tep_draw_form function? I take it that adopting this approach will solve the session id issue and not require the session id to be hard coded? Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2007 Share Posted February 28, 2007 Thank you for that. Is there an example I could follow to get me started with the tep_draw_form function? I take it that adopting this approach will solve the session id issue and not require the session id to be hard coded? yes check the catalog\contact_us.php file. Link to comment Share on other sites More sharing options...
Guest Posted March 6, 2007 Share Posted March 6, 2007 Thanks Mark for the point in the right direction, it's fixed as is the other panel link. Thanks again, Rich Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.