Announcement

Collapse
No announcement yet.

Add Fields on Checkout Pages?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Add Fields on Checkout Pages?

    Hello,


    i would like to add some fields (e.g. Bank Account Numbers the Customer gives when choosing a "bank Account pay method" as it is usual in Germany) to the Checkout Pages.

    To do this I edited (w/Dremaweaver MX) the Act_order02.html Template and simply added 3 aditional Text Fields (Acc.Number, Bank Number, Bank Name).

    it is supposed that these fields will be filled by a customer, then when I get the Order with Customers Information (Name, Address, Order,etc.), these 3 aditional fields should be filled with info - but that doesnt happen!

    I then put a form containing these fields, and defined the ACTION refering to the os00001.pl Script, hoping that this will work but still nothing!

    i get all the Info a Customer fills, except of these 3 Fields.

    How can I "integrate" these 3 Fields into the Script or Order02.html, or whatever other Fields I would like to have?

    Thx in advance for help

    #2
    Here's a ReadMe I did some time ago that allows for multiple prompts to be into the single User Definable field (Design / Text / Goto - Phase 0 ID 14).

    Norman
    Attached Files
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      hm...

      i did all what you said but nothing happens - I still get the same form.

      Do you know what I actually mean? I want to have 3 Textfields right after the Textfields where one can choose payment method, enter CC number, etc.

      I want to write under that the following:

      "If you would like to pay through Electronic Money Transfer, please enter your Account Info":

      Account number: [textfield]

      Bank Number: [textfield]

      Bank Name: [textfield]


      This is where user can enter this, then when we get the order, we get all users info (name, address, etc.) as well as three text lines, e.g. like this:

      John Doe

      John Doe Street 1

      10000 John Doe City

      ...

      Account number: 123456789

      Bank Number: 70150000

      Bank Name: Deutsche Bank Muenchen



      ----------


      I still get (after doing what you suggested) the Order with all the above info, except those three Account lines...?!


      Any suggestion?

      (Since the shop is still not active, I can give you the link to a product, try to buy it, go to checkout page and order. I will then send you if you want the copy of the Order I get).

      Try this link:
      http://naturehealth-ltd.com/acatalog/edp1.html

      Comment


        #4
        sooo....

        I made it for these 3 lines to show up when I retrieve Orders, but it doesnt show up on the email that will be sent to the user and to our client (i will also administer the orders, but the Client would like to have a copy of orders, which goes to him - this happens but the email is WITHOUT these 3 lines????!!!!!!!). it woul be stupid if I would have to MANUALLY write this Account info into the email for my client FOR EACH ORDER!!!!

        The other thing that bothers me is this:

        With your suggest. I get this 3 additional textfields under "General information", but I just wanted to put them somehow at the end of the page (under "payment method", CC Number, etc.) and for now I can't even write that sentence ("if you want to pay wit Bank money transfer..."), so the user KNOWS what these Fields are for and if he want or NOT to fill them.

        Maaaaan, am I tired...

        Comment


          #5
          but it doesnt show up on the email that will be sent to the user and to our client
          This can probably be done but will require patches to the Perl script OrderScript.pl. This is real work. You can contact me directly if you want to discuss how much this will cost.

          Norman
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Cancel the above. The User Defined prompts are meant to show up in the customer e-mail (they won't be formatted too nicely if they contain multiple lines but you can live with that).

            However when I tried it here they don't appear. Perhaps someone from Actinic can help.

            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Cancel the above. The User Defined prompts are meant to show up in the customer e-mail
              This is true, but Arber it looks like you have applied Norman's patch to your 'General Information' fields in Act_Order02.html. Is this right? If so, then these will not appear in the customer email. You need to put them in the 'User Definable' field for the Invoice Address.

              You can then enter your bank detail message just after where it says:

              NETQUOTEDEL:INVOICEPROMPT013 NETQUOTEDEL:INVOICEPROMPT014

              in Act_Order_01.html. Enter code similar to the following:

              <tr>
              <td colspan="2">
              Enter your bank account details here:
              </td>
              </tr>

              Comment


                #8
                Originally posted by cdicken
                This is true, but Arber it looks like you have applied Norman's patch to your 'General Information' fields in Act_Order02.html. Is this right? If so, then these will not appear in the customer email. You need to put them in the 'User Definable' field for the Invoice Address.

                You can then enter your bank detail message just after where it says:

                NETQUOTEDEL:INVOICEPROMPT013 NETQUOTEDEL:INVOICEPROMPT014

                in Act_Order_01.html. Enter code similar to the following:

                <tr>
                <td colspan="2">
                Enter your bank account details here:
                </td>
                </tr>

                It maybe sounds funny, but I opened the Act_order01.html and there is nothing like NETQUOTEDEL:INVOICEPROMPT013 NETQUOTEDEL:INVOICEPROMPT014

                ... it is just like a copy of Act_order00.html.

                here is the code of Act_order01.html:

                NETQUOTEDEL:INVOICEPHASE NETQUOTEDEL:TAXPHASE NETQUOTEVAR:TAXTITLE

                NETQUOTEDEL:TAXPROMPT000 NETQUOTEVAR:TAX1MESSAGE

                NETQUOTEVAR:TAX1DESCRIPTION_NETQUOTEVAR:TAXPROMPT000

                NETQUOTEDEL:TAXPROMPT000 NETQUOTEDEL:TAXPROMPT001 NETQUOTEVAR:TAX2MESSAGE

                NETQUOTEVAR:TAX2DESCRIPTION_NETQUOTEVAR:TAXPROMPT001

                NETQUOTEDEL:TAXPROMPT001 NETQUOTEDEL:TAXPROMPT002 NETQUOTEVAR:TAXPROMPT002



                NETQUOTEDEL:TAXPROMPT002

                NETQUOTEDEL:TAXPHASE NETQUOTEDEL:SHIPANDHANDLEPHASE NETQUOTEVAR:SHIPTITLE

                NETQUOTEVAR:SHIPMESSAGE NETQUOTEVAR:ADVANCEDSHIP

                NETQUOTEDEL:SHIPPROMPT001 NETQUOTEVAR:SHIPPROMPT001



                NETQUOTEDEL:SHIPPROMPT001 NETQUOTEDEL:SHIPANDHANDLEPHASE


                NETQUOTEVAR:REQUIREDFIELDS NETQUOTEVAR:HIGHLIGHTED.



                NETQUOTEDEL:TAXPHASE NETQUOTEVAR:TAXINFO NETQUOTEDEL:TAXPHASE NETQUOTEVAR:INFOPANELS



                NETQUOTEVAR:TRADEMARKS

                Comment


                  #9
                  found, but

                  I found it, but it still doesn't work.

                  I mean, I made it to put the message "please write bank details here:", but

                  1. There is only ONE field available for that, BUT I need 3 (one field for the Account Number, one for the Bank Number, and one for the Bank Name)

                  2. IT STILL DOESN'T SHOW UP, either on the Customers email, nor on the Client's email.

                  (!!!!!!!)

                  And finally, i thought it is not so smart to have these fileds on the INVOICE page, i wanted to have them (logically) on the Payment method page...

                  I now have a total MESS on all Orderxxx.html and Perl files, patching this and that, so that now even the "normal" things don't really work well:
                  E.g., at the first order Page, when choosing the Invoice and Delivery Destination, at the "invoice" part there is only "Germany" available, and "none of above", while at the "delivery" part, all the countries are available.

                  I DID NOT RESTRICT the Locations for INVOICE, i did just ONE restriction: the one for Payment Method, meaning that when CUSTOMER is choosing "Electronic Bank Transfer" it is only available for Germany, but for Credit Card Payment, all Locations are available (within actinic/bussines settings/payment).

                  ???

                  Any Idea?

                  Comment


                    #10
                    Chris,

                    Not sure if this is fixed in 6.1.3 but I'm not seeing either of the User Definable fields for the Invoice or Ship to areas appearing on the customer e-mail on a bog standard demo site (I'm still on 6.1.2) here.

                    Norman
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      hm...

                      I just downloaded the 6.1.3 version, and will see how thie works...

                      Comment


                        #12
                        same

                        With v6.1.3 is the same thing!

                        The user defined Fields still DON'T SHOW UP in the Customer/Client Email, and

                        i can't still "make" additional Text Fields manually at the "Payment Method" Page... too bad...

                        Comment


                          #13
                          In The Advanced User Guide, it tells you how to add the response to the 'User Definable 3' question into the customer email. Look on p60 of the latest one - under the heading of 'Adding an extra field into the customer email'

                          You can use these with Norman's instructions for turning 'User Defined 3' in to multiple info prompts in order to put your new payment fields onto the email message.

                          Before you do this, I would suggest you get a clean OrderScript.pl from the 'Original' directory and copy it into your 'Site1' folder.
                          I would also suggest you get a clean Act_Order.01.html and Act_Order02.html from the '/formats/themes/BusinessCSS' directory and copy them into your Site1 folder. Then you can re-apply Norman's edits and the edits mentioned in the Advanced User Guide.

                          Then check to see if it works as it is. If it does then you can edit Act_Order02.html to move the 'General Information' section below the 'Payment' section. To do this copy everything between the two 'NETQUOTEDEL:GENERALPHASE' tags (including the tags) just below where it says '<!-- Payment HTML end -->'.

                          You could then re-arrange the prompts to put your three extra questions at the top of the 'General Information' section.

                          With regards to the question about restricting payment methods to location, any countries you put in the 'Limited by Location' area within 'Business Settings | Payment and Security' will appear in its own 'Invoice Location' drop-down at the front of the checkout. If you want to add a few more countries in there, change to changing to charge tax by 'Invoice Address' rather than 'Delivery Address'. This is set in 'Business Settings | Tax'.

                          Comment


                            #14
                            I'm not seeing either of the User Definable fields for the Invoice or Ship to areas appearing on the customer e-mail on a bog standard demo site
                            Chris.

                            It's a Bouncing Baby Bug. You don't get the Ship or Bill user defined fileds on the customer e-mail unless you check the "separate shipping destination". If you do that then both fields appear ok. If you have a single invoice / ship address then the userdefined field doesn't show.

                            Norman
                            Norman - www.drillpine.biz
                            Edinburgh, U K / Bitez, Turkey

                            Comment


                              #15
                              aaa

                              OK, I made it...


                              The 3 Fields doesn't show up very good (they're all in line like this Bankdaten (Kontonr | BLZ | Name der Bank): 10372027 | 70150000 | Stadtsparkasse), but at least THEY SHOW UP.

                              I used the above splitting method from Norman, and did what you (Chris) say.


                              It is not Perfect, but as long as this Info shows up on the email, we can live with that...

                              Thx both for your Help!

                              Comment

                              Working...
                              X