I'm trying to add 2 custom fields to the checkout (one for a gift note, one to let users choose the dispatch date). I managed to get the gift note field up and running fine but I'm having trouble with the date field.
I'm using a standard text field (input type="text") with the intention of using jQuery UI for the date picker, but the value of the text field isn't being passed through. If I change from an input to a textarea the data does get passed through. I'm trying to add them both in the 'Payment Method' stage of the checkout on Opencart 1.5.4.
I'm new to Opencart (started looking at it yesterday when I was asked to add these fields) but understand the MVC+L pattern and, as I say, managed to get one field working and passed into the database. I'm not using vQmod.
The data from the input field just isn't getting passed into $this->request->post in controller/payment_method.php
This seems like a bug to me, is it just a quirk of Opencart? I could technically use a textarea if there isn't a solution but that feels a bit of a dirty way around the problem