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

#   variant value empty instead of null

##

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

Less More

- Posts: 71
- Thank you received: 1
-
-

9 years 7 months ago [\#266021](#266021) by [RG](/forum/user/39276-rg "View RG's Profile")  *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266021 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")* was created by *[RG](/forum/user/39276-rg "View RG's Profile")*

-- HikaShop version -- : 3.0.1

Hey,

I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.

Best regards,

RG

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 7 months ago [\#266063](#266063) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266063 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hi,

Please provide a screenshot of how you configured your custom field and how you configured your main product and the variant.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 71
- Thank you received: 1
-
-

9 years 7 months ago [\#266066](#266066) by [RG](/forum/user/39276-rg "View RG's Profile")  Replied by *[RG](/forum/user/39276-rg "View RG's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266066 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hey,

I send you a link with a screenshot in a private message.

Best regards,

RG

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#266076](#266076) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266076 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hello,

Unfortunately, private message are not meant to allow us to provide a suffisent and working support.
Please provide us that screenshot in the forum so all the support team will be able to see it ; and will be able to help you !

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 71
- Thank you received: 1
-
-

9 years 7 months ago -  9 years 7 months ago [\#266157](#266157) by [RG](/forum/user/39276-rg "View RG's Profile")  Replied by *[RG](/forum/user/39276-rg "View RG's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266157 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

The url is: *private content removed by a moderator*

Last edit: 9 years 7 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: removing private/confidential content

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 7 months ago [\#266288](#266288) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266288 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hi,

I recreated a product configured similarily but couldn't reproduce the problem.
It's normal that the value of the custom field goes from null to empty in the database. But that shouldn't change the behavior of the display for the custom field, and it doesn't for me.
Could it come from a view override on your end?
If you switch to the default template of Joomla, do you have still the problem with empty values of custom fields for variants ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 71
- Thank you received: 1
-
-

9 years 7 months ago [\#266310](#266310) by [RG](/forum/user/39276-rg "View RG's Profile")  Replied by *[RG](/forum/user/39276-rg "View RG's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266310 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

When I go to the default template I have the same behaviour.

On some variants he will show it on some not. When I replace the empty to null he shows it on all variants.
If you want me to add some debug messages in the code please let me know.

Best regards,

RG

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 7 months ago -  9 years 7 months ago [\#266428](#266428) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266428 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hello,

There is something strange from what you described, but now for go more far, we will needs :
- Backend access
- Ftp access
- **AND** important, and url link to a product **WITH issue**.

**Note :**
- Use our [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form to provide this elements, and add in your message an **Url link to this thread**.
- **Notify us** that you sent these by writing in **this thread**.

Awaiting news from you.

Regards

Last edit: 9 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 71
- Thank you received: 1
-
-

9 years 7 months ago [\#266821](#266821) by [RG](/forum/user/39276-rg "View RG's Profile")  Replied by *[RG](/forum/user/39276-rg "View RG's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266821 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hey,

I just send the details in the contact form.

Best regards,

RG

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 71
- Thank you received: 1
-
-

9 years 7 months ago [\#266908](#266908) by [RG](/forum/user/39276-rg "View RG's Profile")  Replied by *[RG](/forum/user/39276-rg "View RG's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266908 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Ip is whitelisted. I also send the ftp username/password as reply to the mail.

Best regards,

RG

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 7 months ago -  9 years 7 months ago [\#266851](#266851) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[variant value empty instead of null](/forum/32-content-creation/889567-variant-value-empty-instead-of-null#266851 "-- HikaShop version -- : 3.0.1  Hey,  I have a strange issue in hikashop. When I save a variant I see that the value of a custom field (multiple dropdown) become empty instead of null. In the front end the custom field is not shown. When I put a null value in the database he will show the values of the parent product.  Best regards,  RG")*

Hello,

we have recieved your references, I had a quick look, your website have a looot of custom fields, so in order to process our test can you complete your elements, with a step by step way to recreate your error.
Precise **product name**, **custom field name** (and type).

You have to understand that we can't spend time to investigate in your website ; we need the precise information in order to get directly to the issue.

Regards

Last edit: 9 years 7 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg5NTY3LXZhcmlhbnQtdmFsdWUtZW1wdHktaW5zdGVhZC1vZi1udWxsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.072 seconds

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