Configuring "Contact us" form

  • Posts: 17
  • Thank you received: 0
13 years 4 months ago #22054

Hi.

I have the "Contact us" button displayed on my Product pages successfully and it opens an email form, etc. Everything appears to work from the customer's point of view. But where do the emails go? What do I need to configure as a "contact us recipient"? Is it a specific Joomla Contact? (I am already set up to receive system emails). Or is there a "Hikashop Contact Us" plugin or module that needs configuring? Or might my hosting provider be blocking some system-generated emails in any way?

Many thanks for your help. Robert

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 4 months ago #22058

Hi,

The email is sent to the address you entered in the field "From Address" of the Emails tab of the configuration.

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

  • Posts: 17
  • Thank you received: 0
13 years 4 months ago #22059

Many thanks. As always, superb support!

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 4 weeks ago #28563

That's something not possible with the options available but that could be achieved by creating a system plugin and implementing the event onBeforeSendContactRequest in order to change the receiver based on the product (maybe with the help of a custom product field)

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

  • Posts: 29
  • Thank you received: 2
13 years 4 weeks ago #28542

I have a need to send product info requests to different email addresses depending on the product and/or group. Is this possible to do? Should I make a feature request?

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

  • Posts: 59
  • Thank you received: 2
8 years 1 week ago #255453

Hi Nicolas,
I was wondering where the data comes from for the contact us button on the product page. I have been able to add in 2 additional fields and they display when the button is pressed, but I want to display them in different order and apply different settings to them, for example I would like the name to be a required field and also change the order of email and phone number. Maybe even move my custom fields up to the top of the list, is this possible?

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 1 week ago #255463

Hi,

You can add and modify fields on the contact form via the menu Display>Custom fields.
You need to create custom fields of the table "contact".
And if you want to modify the fields that aren't custom fields, you'll have to edit the file "contact" of the view "product" via the menu Display>Views.

The following user(s) said Thank You: avonrivercs

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

  • Posts: 59
  • Thank you received: 2
8 years 6 days ago #255709

Hi Nicolas,
Thanks for that, I thought that would be the case although you may want to consider removing the hard coded fields in favor of custom fields under the contact table. This would make it easier to customize the form to exactly what you want. The three fields that are currently there, could be in the custom fields which should display exactly as it is now. It just means that you wouldn't have to edit the php file to get it to look as you want.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 6 days ago #255736

Hi,

We could be the problem is that the contact form system was first done without custom fields. If we were to replace the hard coded field with custom fields, it would mean that people who had customized the view file would get extra fields on their form when updating their HikaShop as we can't detect what would have been modified in their view override.
The safest route was thus to just add the custom fields and leave the existing fields as is when we added the custom field feature to the contact form. That's why it's like that.

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

  • Posts: 329
  • Thank you received: 94
7 years 11 months ago #257283

Hi there - A question related to this topic...

A client wants to use the "Contact us about this product" form so we can hook it into Salesforce as we have done for checkout. We've added a few custom contact fields. However, the normal interdependent behavior of the Country zone and State zones isn't working in the Contact us page.

Just like in the checkout when you choose your Country zone from the dropdown, and the State zones dynamically update to the ones valid for that Country, we want the same thing to happen in the Contact Us form page. But we've added both of those custom fields and while the country displays, the Javascript to trigger the State isn't working.

Is this a bug? Or was the Contact Us form never designed to support using dependent custom fields that are zones?


~ Deb Cinkus, CEO

Polished Geek: more with monday․com
eCommerce Business Process Automation Experts
Attachments:
Last edit: 7 years 11 months ago by PolishedGeek.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
7 years 11 months ago #257331

Hi,

I must say we had never tried to have zone custom fields there.
I've checked on my end and I couldn't reproduce the problem. I had both fields displayed and working:
take.ms/DKb0C
So I suppose that it comes from the default value of the fields.
Make sure that you select the default value of the country field and then save it.
Then, reproduce that for the state field.
It's important to do it in that order so that the state selected as default value in the state field, correspond to the country selected in the country field.
So that also means that when you create the fields, you need to save them twice. Once to select all the options except the default value, and a second time to save the default value. If you don't do that second save, then the default value is left empty in the database and the system isn't able to load the default country/state and it can mess up the display.

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

  • Posts: 329
  • Thank you received: 94
7 years 11 months ago #257367

Thanks for the quick reply. Pretty sure I'd done it that way, but with your suggestion went through and saved again cleanly in the correct order to be absolutely sure. Re-saved the Country default first (USA) and then the State with a default of Alabama.

But alas, no love in the zone. Still looks the same way - no actual dropdown shows up, just the label.

Interestingly if I turn on the option to add a "Please Select" choice to State, the field disappears entirely from the page.

To rule out a template conflict I temporarily switched over to one of the Joomla standard templates, but same result. Country shows, state doesn't.

Could I get you to take a quick look at the dev site to help debug this?


~ Deb Cinkus, CEO

Polished Geek: more with monday․com
eCommerce Business Process Automation Experts

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
7 years 11 months ago #257372

Hi,

Yes, please provide a backend access, a link to the contact page and a link to this thread through our contact form:
www.hikashop.com/support/contact-us.html

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

Time to create page: 0.082 seconds
Powered by Kunena Forum