I have a question.
I would like to let a customer to attach a pdf to an order which can be used as a shipment document.
Preferably I would have this file saved as binary in my table, but I don't think that is an option at all.
In the front end I want an input field of type "file" to let the customer select a pdf.
So in the CMS I created a custom order field of type "file" to enable this.
When I use @TemplateTags() in my template it shows the custom order field.
I also see a matching column in the EcomOrder table.
The shown template tag information does NOT give me a string sample of the input field I could use (as it does for all my other custom order fields).
See attachment for custom order field "BlancoDeliveryTemplate" of type file in comparison to custom order field "BlancoDelivery" of type checkbox.
When I create my own input field of type "file" and use the system name as input name and id it doesn't seem to save any information to the EcomOrder table when I select a file and post the form (which is of enctype multipart/form-data).
It just doesn't seem to do anything and I have no idea what it SHOULD do either, because there is no way to select an upload directory or something like that.
Can anyone inform me how I can successfully attach a file (pdf) to an order in a cart step?
I then need to send this file (in my checkout handler) to an external environment alongside the order data.
I don't expect any problems there, as long as I can find this file ...