I have checked through old posts and cant find answer.
In previous versions (1.2 & 1.3) I had this working but now it's not. I have added and changed some values in orders_delivery.tpl, then changed values in core/orders.php to match. I have also added fields in js/orders.js as I presume this is how data is stored before customer checks out.
Problem is, if I try to place a test order i get the message "please fill in all required fields" even if all fields are filled in. Also, when I return to orders_delivery page after that, not all fields have kept their info, the city field and country (added by me) do not hold info.
Can anyone tell me what I have missed?
Thanks.
Jo
2006-10-13 12:55
Can anyone help me here? I really need more fields in orders_delivery as there is not enough for a full UK address, I also need a country option to accept orders from more than 1 country...please help me!
Thanks!
Jo
2006-10-15 17:58
I think the problem I'm having is with core/orders-ff.php. I'm not sure where to add the extra info. I believe it is something like this:
'$'.$aExp[1]""$'.$aExp[2]"
from reading this post - http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=214
but I'm not sure where in the file to add the code. Looks like no-one is going to reply but I really hope someone can help me!
Jo
2006-10-15 20:32
Here I am again :)
I have the extra fields being passed through to orders_more now, that works fine, but now delivery total does not appear on orders_more or orders_print
Need help!
rutger
2006-10-15 23:03
I want also change the order delivery field. How do i change an input field to a select field? When i change the code in orders_delivery.tpl there is also the "please fill in all required fields" error.
Jo
2006-10-16 19:42
If you are wanting a select field as in the same as the 'courier' field I would copy all info for courier field from core/orders.php and templates/orders_delivery.tpl, and edit it to the new info you want.
i'm not 100% sure but that might help you.
Jo
2006-10-17 01:12
That doesn't quite work, can anyone tell me - to get another drop down list in orders_delivery page do I have to use all files similar to courier option (i.e. templates/couriers.tpl, db/couriers, core/couriers etc. etc.) or can I add a simple drop down list somehow. I have tried a regular drop down and it isn't working.
I would like another list so that I can add what payment method the customer will be using.
Jo
2006-10-17 01:28
Sorry! ignore the last post, I had made a mistake in core/orders.php.
To add a select field (drop down list) to templates/orders_delivery.tpl, add your form like so (e.g. I have used payment option) in orders_delivery.tpl:
If anybody in the US is interested.. Use the above steps to add a State field - go through all the setups but use this drop menu for the states - works for me... (I called it sState) - I would suppose that someone else for example; Italy; could use this and just change the option values to match what they want. Sound feasable?