[Skip to main content](#vessel-content)

#   Single Dropdown custom field issue with many values

##

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Away](/forum/user/8351-verzevoul)

Less More

- Posts: 1193
- Thank you received: 13
-
-

7 years 6 months ago [\#305777](#305777) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#305777 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.4
-- PHP version -- : 7.2

Hello,

I created a Single Dropdown product custom field with 77 values.
Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field.
Any thoughts?

Thank you in advance

- [ ![correctvalue.jpg](/forum/attachment/46626) ](/forum/attachment/46626 "correctvalue.jpg") [ ](/forum/attachment/46626?download=1 "correctvalue.jpg")
- [ ![productbackendselectedvalue.jpg](/forum/attachment/46627) ](/forum/attachment/46627 "...ectedvalue.jpg") [ ](/forum/attachment/46627?download=1 "...ectedvalue.jpg")
- [ ![customfieldDefaultvalue.jpg](/forum/attachment/46628) ](/forum/attachment/46628 "...faultvalue.jpg") [ ](/forum/attachment/46628?download=1 "...faultvalue.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

7 years 6 months ago [\#305802](#305802) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#305802 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi,

What you highlight in your screenshot of the frontend product page is the name of the product, not the value displayed by the custom field.
I suppose that you didn't save yet that product. So in the backend you get the default value selected in the dropdown, but as long as you don't save it once, the value of the custom field is empty in the database and it doesn't show up on the frontend product page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Away](/forum/user/8351-verzevoul)

Less More

- Posts: 1193
- Thank you received: 13
-
-

7 years 6 months ago [\#305842](#305842) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#305842 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi nicolas,

the value is saved in the database, it's not empty and it's the correct value saved there.
The values in the custom field are now up to 933.
When i edit the product in the backend, the custom field value that is selected is not the correct one (a.k.a the one i saved first).
I noticed that when a custom field has a big set of data in it, it doesn't save and has issues such as this one i'm telling you.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

7 years 6 months ago [\#305843](#305843) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#305843 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi,

I've never seen such issue.
Please provide a backend access and a FTP access along with a link to this thread and precise instructions to reproduce the problem so that we can have a look at the situation.
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

7 years 6 months ago [\#305873](#305873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#305873 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi,

We got a username and a password from you via our contact form.
However, I was not able to log on the backend of the website with it.
There was also no FTP access nor instructions in your message to reproduce the problem.
Coudl you double check the backend access and provide the rest of the information please ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Away](/forum/user/8351-verzevoul)

Less More

- Posts: 1193
- Thank you received: 13
-
-

7 years 5 months ago [\#307126](#307126) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#307126 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi nicolas,

i sent you via email all the credentials.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

7 years 5 months ago [\#307129](#307129) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#307129 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi,

The max_input_vars of your php.ini is set to 1000. So your PHP won't take into account the parameters after 1000.
Because you have a lot of values in these custom fields, you go over that limit and thus the new values are discarded.
You'll have to increase that setting if you want to continue adding more values.
You can check the value of that setting under the "PHP information" tab of the System&gt;System information menu of your Joomla backend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Away](/forum/user/8351-verzevoul)

Less More

- Posts: 1193
- Thank you received: 13
-
-

7 years 5 months ago [\#307141](#307141) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#307141 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi nicolas,

max_input_vars is not set to 1000 but to 1000000.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

7 years 5 months ago [\#307143](#307143) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#307143 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi,

It was set to 1000 when I looked yesterday... It has been changed since then.
And when I check your custom fields, I'm now able to add values, so it means that the problem was fixed by that change.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Away](/forum/user/8351-verzevoul)

Less More

- Posts: 1193
- Thank you received: 13
-
-

7 years 5 months ago [\#307153](#307153) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#307153 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi, the problem is not that not save new data on field.
But if you add on a product one value from this field save the rigth value on the database but if you go out of the product and back in product have select a difrent value on this field, the frist value
and if you save the product with some chage elseware they change the value of this field.

thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

7 years 5 months ago [\#307155](#307155) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Single Dropdown custom field issue with many values](/forum/25-install-update/897314-single-dropdown-custom-field-issue-with-many-values#307155 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.2  Hello,  I created a Single Dropdown product custom field with 77 values. Values names are numbers (1,2,3 etc), the problem is that if a product has a specific value selected (for example value 5), that correct value shows up in the frontend and in the database table, but if i enter the backend of that product, the value that seems to be selected is the default value of that field. Any thoughts?  Thank you in advance")*

Hi,

Well, you had two problems then.
Regarding the problem with the field value not being selected when you come back to the product, that's because you have an inconsitency on your website which should not be possible.
In your custom field Diastasi you have a D uppercase. However, HikaShop doesn't allow uppercase when you create a new custom field and in the database you correctly have a d lowercase for the column in the hikashop_product table.
So I don't understand how you ended up with a D uppercase in the column name of the custom field.
You need to edit the the entry of the custom field in the hikashop_field table via your phpmyadmin and change the field_namekey to lowercase and it will work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzMxNC1zaW5nbGUtZHJvcGRvd24tY3VzdG9tLWZpZWxkLWlzc3VlLXdpdGgtbWFueS12YWx1ZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.133 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
