Contact us for more information

  • Posts: 95
  • Thank you received: 1
  • Hikashop Business
11 years 1 month ago #164146

Hi,

If I enable the "Contact us for more information" button in a product page, how can we make the fields of the form required?



Thanks in advance.

Last edit: 11 years 1 month ago by wideservices.

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
11 years 1 month ago #164148

Hi,

Of which fields are you talking about exactly ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 95
  • Thank you received: 1
  • Hikashop Business
11 years 1 month ago #164213

Hi,

I attached a printscreen. If you have enabled the "Contact us for more information" in a product , a contact form will be displayed. About that fields.

Thanks in advance

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #164222

Hi,

If you have the latest version of HikaShop, these fields should be required.
There is a JS check on it, and a php check.

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

  • Posts: 95
  • Thank you received: 1
  • Hikashop Business
11 years 4 weeks ago #164508

Hi,

When you click to this button "contact us for more information" and you write the message, because we have also the Hikamarket, this message goes to the Vendor of the product but we want this message to be sent to the administrator of the platform. I searched the configuration of the Hikashop and HikaMarket and I didn't find anything. Any ideas?

Thanks in advance!

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
11 years 4 weeks ago #164559

Hi,

You're right, there is no option in HikaMarket for that.
I will fix in for the next release (1.4.2) but for the moment you can edit the file " administrator/components/com_hikamarket/classes/mail.php" and replace

private function processContactMail(&$mail, &$mailer, &$do) {
By:
private function processContactMail(&$mail, &$mailer, &$do) {
     return;
So it will skip the override of the contact email.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 95
  • Thank you received: 1
  • Hikashop Business
11 years 4 weeks ago #164603

Hi,

Thanks a lot for your support. That edit in the php file fixed it for me.

Best regards,

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

Time to create page: 0.070 seconds
Powered by Kunena Forum