Custom Mandatory Field

  • Posts: 161
  • Thank you received: 4
3 months 2 weeks ago #358209

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 3.10.12
-- PHP version -- : 8.0
-- Error-message(debug-mod must be tuned on) -- : none

Hi,
is there a method to add a mandatory field to 1 specific payment method at checkout but not the other payments methods?
thanks

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
3 months 2 weeks ago #358211

Hi,

Yes. If you create a custom field of the table "order", you have the setting "payment methods" which allows you to restrict the custom field to only some payment methods.

The following user(s) said Thank You: phiddius

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

  • Posts: 161
  • Thank you received: 4
3 months 2 weeks ago #358218

Perfect ! thank you

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

  • Posts: 161
  • Thank you received: 4
3 months 2 weeks ago #358219

Just a note- I am finding that creation of hikashop product module is crashing Gantry 5, just looking into that

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
3 months 2 weeks ago #358220

Hi,

We would need more information to say anything useful.
What error do you get exactly ?
When does it happen ? When you save the settings of the module in the backend ? When you look at the website on the frontend after adding the module ?

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

  • Posts: 161
  • Thank you received: 4
3 months 2 weeks ago #358234

Hi nicolas, thanks
Ive created a pdf to explain what is happening
(changed the staging site name but happy to share the url privately)
thank you

Attachments:

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
3 months 1 week ago #358237

Hi,

So it's a 500 HTTP error. In that case, you'll have to look in the PHP error log file of your server for the fatal error message in order to know on which line of which file the problem is occurring.
You might need to ask your hosting provider on how to access that PHP error log file.

Here is a tutorial on activating the PHP error log in the php.ini if needed :
stackify.com/php-error-logs-guide/

The following user(s) said Thank You: phiddius

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

  • Posts: 161
  • Thank you received: 4
3 months 1 week ago #358276

Thanks nicolas.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum