CONTACT_US_FOR_INFO form text area not required

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
5 years 5 months ago #298565

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.1

Hello,

when a user clicks on CONTACT_US_FOR_INFO button in a product page and gets redirected to the form, the field "hikashop_contact_name_altbody" (text area) i need it not to be required.

Thank you

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
5 years 5 months ago #298574

Hello,

Sorry but I'm afraid to not follow you well, in our mind the field is indeed required, and I don't understand your request.
Can you precise with more details your need please ?

Awaiting news from you.
Regards

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

  • Posts: 1025
  • Thank you received: 11
  • Hikashop Business
5 years 5 months ago #298611

Hi,

my client asked me to make this field not required and that is why i am asking you.
No more details to give. I have added some extra fields in the form and this field does not need to be required.
Is it possible?

Thank you

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
5 years 5 months ago #298620

Hi,

You would have to remove the code :

$app->enqueueMessage(JText::_('PLEASE_FILL_ADDITIONAL_INFO'), 'error');
			$send = false;
in the file components/com_hikashop/controllers/product.php

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.060 seconds
Powered by Kunena Forum