- Posts: 235
- Thank you received: 4
Limit to custom fields
- janvankuijk
-
Topic Author
- Offline
Less
More
7 years 1 month ago #310123
by janvankuijk
Limit to custom fields was created by janvankuijk
-- url of the page with the problem -- :
ronaldkroezen.nl
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : -
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : limit
We want to make custom fields on the table products.
We want to use 'single dropdown'.
Question: is there a maximum to the number of values we can add? It can be up to 10.000 per custom field!
Jan
PS
I ask this because we tried to create a solution with Joomla Custom fields. Now are there about 1.000 fields in on dropdown and there is a limit!!!
We don't want to face this problem again!
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : -
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : limit
We want to make custom fields on the table products.
We want to use 'single dropdown'.
Question: is there a maximum to the number of values we can add? It can be up to 10.000 per custom field!
Jan
PS
I ask this because we tried to create a solution with Joomla Custom fields. Now are there about 1.000 fields in on dropdown and there is a limit!!!
We don't want to face this problem again!
Please Log in or Create an account to join the conversation.
7 years 1 month ago #310124
by nicolas
Replied by nicolas on topic Limit to custom fields
Hi,
The only limit is the type of the column in the database. Based on your initial version of HikaShop on the website, it could be text or longtext. If it's text, then you'll be limited to a few thousand values. In which case you can switch to longtext for the field_options column (like it is by default since several years now). With longtext, the limit is around tens of millions of values and in that case, you'll have a memory issue and loading delay issue rather than a storage issue. But I doubt anyone will have so many values in one custom field.
The only limit is the type of the column in the database. Based on your initial version of HikaShop on the website, it could be text or longtext. If it's text, then you'll be limited to a few thousand values. In which case you can switch to longtext for the field_options column (like it is by default since several years now). With longtext, the limit is around tens of millions of values and in that case, you'll have a memory issue and loading delay issue rather than a storage issue. But I doubt anyone will have so many values in one custom field.
The following user(s) said Thank You: p30yaran
Please Log in or Create an account to join the conversation.
Time to create page: 0.135 seconds