Brian-Bear Posted June 4, 2009 Posted June 4, 2009 Can anyone assist in providing the code to make the "add comments about your order" box in checkout a required field
web-project Posted June 4, 2009 Posted June 4, 2009 google for javascript code, edit the checkout files and add the code. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
Brian-Bear Posted June 4, 2009 Author Posted June 4, 2009 Can it not be done the same way as the other fields with the asterix
niblarto Posted June 12, 2009 Posted June 12, 2009 Can anyone assist in providing the code to make the "add comments about your order" box in checkout a required field I too want this, I use osCommerce for my flower shop and use the delivery information field to store what customers want to say on the card with the flowers, a lot of customers miss this off so I'm having to call them to find out. Thanks
FIMBLE Posted June 12, 2009 Posted June 12, 2009 All you ned to do is to look at the error code already in the file, then copy it and ammend it to suit your needs, have a go and see if you are able to, as things go its not that hard. Or look in the create_account.php file there are lots of examples there Regards Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
niblarto Posted June 13, 2009 Posted June 13, 2009 All you ned to do is to look at the error code already in the file, then copy it and ammend it to suit your needs, have a go and see if you are able to, as things go its not that hard.Or look in the create_account.php file there are lots of examples there Regards Nic I've been looking at the checkout_confirmation.php but I can't figure out how to get an error to pop up if the comments field is empty. I can see that the following is present <?php if (tep_not_null($order->info['comments'])) { ?> So I think that does something if the field is not empty, I want it to pop up an error if it is empty, I am no coder, I run a flower shop!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.