Adding Additional Fields at Checkout

  • Posts: 55
  • Thank you received: 1
11 years 9 months ago #122231

Is there a way to add an additional field at checkout? We'd like to add Type of Credit Card with the choices being American Express, Mastercard, Discover, or Visa.

On another topic this was suggested: You can add additional fields on the credit card form by editing the file "payment" of the view "checkout" via the menu Display->Views. Then, you will have to modify you payment plugin to use that field.

Our developer doesn't understand how this can be done without more information than the statement above.

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #122234

If you want to add new information fields in the checkout, you can just create custom fields of the table "order" via the menu Display>Custom fields (business edition only) and the rest is handled automatically.

What was suggested was a code modification to simply add a HTML input in a view file. It should be trivial to do if you're a developer but then you need catch the data on the server-side. It's more complex than just creating a custom field and everything is already taken care of for you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum