Save contact form with extra fields to database

  • Posts: 28
  • Thank you received: 1
10 years 4 weeks ago #208953

-- url of the page with the problem -- : zinkcalls.com
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

We would like to have our product contact form saved to a database table, so that we can then display that data using Fabrik in the back end. I looked at contact view and did not see a reference to the specific handler for the contact form. If someone else has done this in the past i would appreciate some guidance on how to accomplish this.

Additional info:
We are using the contact form as a separate mechanism for handling pre-orders. ie: if that particular product has the form turned on, the user can enter their payment and shipping information separate from normal checkout process. In an ideal wold, the custom field that collects the cc# in this form would only email the last 4 digits but store the entire number in the database with some sort of encryption that could then be decrypted by Fabrik.

Any suggestions/assistance would be helpful. As the ability to save a contact form to database is pretty much present in every form building component, this would be a great new feature for hikashop as well.

*** Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. ***

Last edit: 10 years 4 weeks ago by TheBeacon. Reason: *** Sorry somehow this got into the wrong forum category, please feel free to move it if necessary. ***

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 4 weeks ago #208984

Hi,

Next version of HikaShop will have a plugin to have all the emails sent by HikaShop stored in the database, including the contact notification emails, which will contain the values of the custom contact fields.
So that would need your primary need to storing the contact form data in the database and being able to review them in your backend.

Regarding the credit card storage, I guess that a small customization of the plugin storing the contact email would allow you to cut the credit card number in two and keep half in the email that is sent and the other half in the copy that is stored in the database.

Note however that the next release is scheduled for September. If you need something before, then that would require the development of a custom plugin to store the contact data in the database.

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

  • Posts: 28
  • Thank you received: 1
10 years 4 weeks ago #209203

Well then, I'll just negotiate with my people to wait for the next update. :)

The following user(s) said Thank You: Jerome

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

Time to create page: 0.059 seconds
Powered by Kunena Forum