Skip to main content

Custom Mandatory Field

2 years 9 months ago #358209 by phiddius
-- 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.

2 years 9 months ago #358211 by nicolas
Replied by nicolas on topic Custom Mandatory Field
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.

2 years 9 months ago #358218 by phiddius
Replied by phiddius on topic Custom Mandatory Field
Perfect ! thank you

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

2 years 9 months ago #358219 by phiddius
Replied by phiddius on topic Custom Mandatory Field
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.

2 years 9 months ago #358220 by nicolas
Replied by nicolas on topic Custom Mandatory Field
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.

2 years 9 months ago #358234 by phiddius
Replied by phiddius on topic Custom Mandatory Field
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

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

2 years 9 months ago #358237 by nicolas
Replied by nicolas on topic Custom Mandatory Field
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.

2 years 9 months ago #358276 by phiddius
Replied by phiddius on topic Custom Mandatory Field
Thanks nicolas.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum