How can I customise the product contact form?

  • Posts: 14
  • Thank you received: 0
11 years 4 months ago #118056

Hello,

How can I customise the product page contact form so that the name of the product is displayed?

It could also be nice to add some fields to the form.

This is the contact form I am talking about:
www.cw42.no/index.php/no/vare-produkter/product/contact/cid-683

Thanks!

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

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #118063

Hi,

I think that you'll find some information through this thread :

Well, nothing is impossible.
You can always customize the view and add the fields yourself and change the controller to handle the fields data and add them to the email.
But it will be far easier to use a contact form extension which is made to do exactly that.

Hope this will help you a little.

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

  • Posts: 14
  • Thank you received: 0
11 years 4 months ago #118585

Hello Mohamed,

I do have another extension for generel inquires on the web page. But for the products I like to use the integrated contact form in Hikashop.

The only thing I really need is that the name of the product is displayed. I know php, but I don't have time to study the code right now. Can you point me in the right direction - I need to know which view I should look at and which php variable I can grab the name of the current product from (it has to be remembered somewhere since the name of the product is written in the email that are sent).

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

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #118630

Hi,

You have to edit the view "product / contact" and then it's only html / css changes that need to be made.
www.hikashop.com/support/documentation/1...ize-the-display.html

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

Time to create page: 0.080 seconds
Powered by Kunena Forum