Jump to content

Edit History

sdrissi

sdrissi

Hi all,

I'm struggling for days now on how to retrieve my custom field 'delivery-date', displayed in CheckoutDeliveryStep of Front Office, in OrderController.

I have tried to get it in OrderController#postProcess function by doing: Tools::getValue('delivery-date') but it doesn't return any value (i.e it returns false).

I have also tried to do print_r($_POST) in this same function but it prints an empty array which is super weird since in chrome's developer tools under network tab I can see the data posted...

Your help would be very much appreciated :)

Thanks!

sdrissi

sdrissi

Hi all,

I'm struggling for days now on how to retrieve my custom field 'delivery-date', displayed in CheckoutDeliveryStep of Front Office, in OrderController.

I have tried to get it in OrderController#postProcess function by doing: Tools::getValue('delivery-date') but it doesn't return any value (i.e it returns false).

I have also tried to do print_r($_POST) in this same function but it prints an empty array which is super weird since in chrome's developer tools under network tab I can see the data posted...

Your help would be very much appreciated :)

Thanks!

×
×
  • Create New...