I have my e-commerce site with three checkout steps, each button to continue is a POST action and redirect to the next step:
if the user navigates by the checkout steps (click on the previous button for example), the form fields don´t show the data posted previously.
This form fields are shown empties:
I want to make that any information that a user fills out doesn't get erased when they navigate by the checkout steps.
what is the best way to do this? store the checkout steps fields in $_SESSION?
Something like this: $_REQUEST['name_name'] = $_SESSION['contact_name'];
Thank you very much.