Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Our Products

Tips and Tricks HQ Forum » WP eStore Forum

How to modify contact form of manual checkout/gateway

(19 posts) (8 voices)
  • Started 2 years ago by Samuel
  • Latest reply from ahugessen
  • Possible Solutions (Related Topics):
    1. How to modify paypal & manual checkout buttons ?
    2. eMember - Member Record is not Updated with Manual Checkout
    3. Mandatory phone number in manual checkout
    4. Additional step in manual checkout possible?
    5. eStore manual checkout setup - Unable to mark order paid

Tags:

  • contactform
  • edit fields
  • manual checkout form
  • order summary
12Next »
  1. Samuel
    Member

    Hi,

    Is it possible to modify contactform? I need to re-arrange the field, for instance I will put email address in the first row.
    I also would like to change the field title to my own language, such as "Firt Name" --> "Nama Lengkap" and set which fields are mandatory and which ones are not.

    Thanks in advance,
    Samuel

    Posted 2 years ago #
  2. amin007
    Key Master

    You can customize the text/messages displayed by the plugin using the language files. This post will explain what to do:
    http://www.tipsandtricks-hq.com/forum/topic/plugin-language-translation

    To modify the contact form for the manual checkout open and modify the "eStore_shipping_details_view.php" file from the "view" directory of the eStore plugin.

    Posted 2 years ago #
  3. Samuel
    Member

    Hi Amin,

    Thanks for your response.
    I have another problem. In my country, last name is not mandatory and since the target is for local customer, I do not need country information. So I delete the fields but the software still needs last name and country info when checking out items.

    How to change the manual checkout script so that it does not need that data anymore.

    Cheers,
    Samuel

    Posted 2 years ago #
  4. amin007
    Key Master

    Open the "eStore_manual_gateway_functions.php" file and look for the following function:

    function eStore_check_address_details()

    Take out the fields that you don't want to be mandatory from this function.

    Posted 2 years ago #
  5. Samuel
    Member

    Hi Amin,

    It works.

    thank you very much.

    Posted 2 years ago #
  6. Art Munson
    Member

    Shouldn't this now be "eStore_manual_gateway_functions.php" where to take out the manual form fields? This "eStore_shipping_details_view.php" did not work and "eStore_manual_gateway.php" did not have the info.

    Posted 1 year ago #
  7. admin
    Key Master

    Yes the "eStore_check_address_details" function has been moved to the "eStore_manual_gateway_functions.php" file.

    Posted 1 year ago #
  8. natek
    Member

    What I am trying to do is add 3 fields to the manual checkout page. I added:

    define("ESTORE_CREDIT_CARD_TYPE", "Credit Card Merchant");
    define("ESTORE_CREDIT_CARD", "Credit Card Number");
    define("ESTORE_EXPIRATION_DATE", "Expiration Date (mm/yy)");

    to the eng.php file.

    I then added:

    $body .= "\n".ESTORE_CREDIT_CARD_TYPE.": ".$_POST['credit card merchant'];
    $body .= "\n".ESTORE_CREDIT_CARD.": ".$_POST['credit card number'];
    $body .= "\n".ESTORE_EXPIRATION_DATE.": ".$_POST['expiration date'];

    to the eStore_manual_gateway_functions.php file.

    This does not work for me. What am I missing? Also, is it possible to have one of the fields a dropdown so they can select "Visa, MasterCard, Discover" as the credit card merchant?

    I am not very well versed in PHP coding. Thanks.

    Posted 1 year ago #
  9. admin
    Key Master

    It will require more coding for what you are trying to do. If it was a simple few lines code change then I would tell you how to do that right now but it is a little more complex than that. So I would suggest doing the following which still gives you the functionality you want without having to do any coding.

    Instruct your customers to leave those card details in the "Additional Comments" field of the manual checkout form. Your customer can leave any information in that field. You can also customize the "Additional Comments" label to say something like "Card Details" if you prefer.

    Posted 1 year ago #
  10. natek
    Member

    I would prefer not to process transactions that way. I guess the best option is to use a third party form and customize that to my liking. I just really liked how your form included the product details on the right side. Is there a way to do that if I use a 3rd party form? That way people knew what they were purchasing.

    I would also consider paying for your form to be customized. Would you be interested? if so, what would the price be?

    Posted 1 year ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ  | WordPress Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin