Skip to main content

Let customers to ask more info on a product.

More
15 years 2 weeks ago - 15 years 2 weeks ago #25281 by fgarganese
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: 15 years 2 weeks 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.

More
15 years 2 weeks ago #25288 by nicolas
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.

More
14 years 10 months ago #28585 by BRupholdt
Is there a sample plugin I can look at somewhere?

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

More
14 years 10 months ago #28591 by nicolas
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.201 seconds
Powered by Kunena Forum