August 3, 2010 at 7:13 am #1612mudit.agarwalMember
i want to add some new fields to the manual gateway form. Plus i also want some fields like phone no etc to be required. How do i do that?August 3, 2010 at 1:08 pm #23024amin007Participant
You will have to modify the following two files for that:
– eStore_manual_gateway.phpJanuary 7, 2011 at 5:16 am #23025endr8472Member
Hi, I would like to make the manual gateway phone field mandatory. I have looked at both of the files mentioned in the above post, and while I would love to do it myself, I am not terribly proficient in PHP and therefore not entirely confident in my ability to execute such a change. This lack of PHP knowledge is one of the reasons (besides the incredible functionality, reviews, and support it, of course) that led me use your excellent plugin, and this field being required would complete all of my needs.
Thank you in advance, both for your anticipated reply and the excellent use I have already gotten out of your plugin.January 8, 2011 at 3:11 am #23026amin007Participant
Open the “” file and search for the following bit of code:
$error_msg .= "<br />".ESTORE_EMAIL;
Once you find the above code add the following lines of code immediately below it:
$error_msg .= "<br />".ESTORE_PHONE;
That should make the phone field mandatory.September 8, 2011 at 7:15 pm #23027zenjiMember
Also worked great for me admin007. I used it to add an additional field called “Purchase Order Number”.
Thanks for the great plugin.
CheersFebruary 28, 2012 at 10:36 am #23028
I’m also trying to customise this form (create new fields and remove some). In my wordpress editor, I have found the view/eStore_shipping_details_view.php.
BUT I cannot find a PHP file called – eStore_manual_gateway.php ???
Also, is it possible to change the word ‘MANUAL’ in the cart (currently, showing ‘Paypal’ or ‘Manual’)? I would like to change the word ‘Manual’ to ‘Cheque or Direct Deposit’ to make it clearer for the customer.
Thanks for your help!February 28, 2012 at 12:15 pm #23029PeterMember
Which version of eStore are you using?
The “eStore_manual_gateway.php” definitely exists and is in the following directory: /content/plugins/wp-cart-for-digital-products/
Changing the word “Manual” can be done by tweaking the following file:
Look for the line:
define(“ESTORE_MANUAL”, “Manual”);February 28, 2012 at 8:17 pm #23030
I’m on version 18.104.22.168
I looked in both the plugin editor in WordPress and in my file manager on my host (Hostgator) and I can’t find any file named eStore_manual_gateway.php
I looked several times, and in the directory /content/plugins/wp-cart-for-digital-products/
Can you please confirm there definitely is a eStore_manual_gateway.php file in my version?
Also, how do I update estore to the latest version?
Thanks Peter, I hope I’m not going blind!February 28, 2012 at 9:50 pm #23031
Found it! I requested the upgrade for the plugin and installed it. This manual gateway file was obviously not in my version. Now it is!
Thanks for your help (glad you asked the question about which version I was using).
I’ll see if I can now work out customizing the contact form!
ThanksFebruary 28, 2012 at 10:02 pm #23032
Actually I have one more question please:
Can you please tell me which part of the code (and which file) is for the actual field labels? I can’t seem to find what part controls the label that customers will see on the form.
ThanksFebruary 29, 2012 at 2:59 am #23033adminKeymaster
If you are embedding the manual checkout form on a WordPress page (this option was added recently) then look in the “eStore_manual_gateway_collect_details_form” function of the “eStore_manual_gateway_functions.php” file.
If you are using the stand alone manual checkout page (not embedded inside a WordPress page) then look in the “show_shipping_details_form_new” function of the “view/eStore_shipping_details_view.php” file.
- You must be logged in to reply to this topic.