Let customers to ask more info on a product.

  • Posts: 23
  • Thank you received: 0
13 years 2 months ago #25281

Hello,
we have in mind to add a function to a website.
We have a shop project which needs to go in production with the following steps:

  1. insert products, leaving the site as a catalog, no e-commerce yet
  2. prepare in the back-end prices, e-payment and shipment organization, inserting them on the db
  3. enable e-commerce and newsletter
During step 1 and step 2, the site needs to have a link to a form, inside each product page, to ask more informations.
This form needs to have:
  • name
  • email
  • product (automatically populated)
  • the memo field for the request.
To let more freedom, everyone can fill the form without do a user registration.
We discovered the option inside System -> Configuration -> Display which do the job.
In what way is it possible to personalize it, like change the default button with a image or add more fields in the form?
Thank you very much for your answer


Francesco Garganese
Aeromnia Srl
Last edit: 13 years 2 months ago by fgarganese. Reason: We discovered the feature to start to solve the request

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 2 months ago #25288

Hi,

Indeed, there is already a contact form feature in HikaShop for what you want to do.

If you want to customize the form, you can edit the file "contact" of the view "product" via the menu Display->Views.
If you want to display more information in the email, you can do so by creating a system plugin which would implement the event onBeforeSendContactRequest with the parameter &$element. That object parameter will contain all the information of the data[register] array of the form and the altbody attribute of that object will be displayed at the end of the email, so you can modify it to add more information coming from the modified form you made in the contact view.

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

  • Posts: 29
  • Thank you received: 2
13 years 3 weeks ago #28585

Is there a sample plugin I can look at somewhere?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 3 weeks ago #28591

No such plugin has been made so far for that.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum