S
S
SeiLove2015-12-12 16:34:58
opencart
SeiLove, 2015-12-12 16:34:58

How to get value from form when using quickcheckout?

Good afternoon, I ran into such a question ... how to add custom fields to a quick form)) And it seems like I added ... and the values ​​\u200b\u200bare taken ... but each time from the session. Those. the current value is equal to the previous order... and whatever one may say, I can't get it to reset these values. Maybe someone was tinkering with this and can tell how to be?
this is how i get the values...

$delivery_day = $this->request->post['delivery_day'];
      $this->session->data['delivery_day'] = $delivery_day ;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2016-02-07
@amfetamine

after checkout, all session variables should be reset. unset() for all session variables after order confirmation. and nothing can be said from your 2 lines of code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question