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

#   Product custom field values not saving in backend of product

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 9 months ago [\#314698](#314698) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314698 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")* was created by *[elevology](/forum/user/30211-elevology "View elevology's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2.22
-- Browser(s) name and version -- : firefox mac
-- Error-message(debug-mod must be tuned on) -- : No error message present on the page

Hello,

I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.

An example: Multi-select custom field name "Mounting" with the following structure.

Mounting
- Horizontal Mounting
- Vertical Mounting
- 1" Pipe Mounting
- 1-1/4" Pipe Mounting

If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1" Pipe Mounting or 1-1/4" Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value="" in the DOM.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTkwMDAtcHJvZHVjdC1jdXN0b20tZmllbGQtdmFsdWVzLW5vdC1zYXZpbmctaW4tYmFja2VuZC1vZi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

6 years 9 months ago -  6 years 9 months ago [\#314703](#314703) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314703 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hello,

Can you provide theses elements in order to better understand the context ?
we need :
- A **screenshot** of your relative custom field setting page
- Any relatives elements that will help us to **reproduce your configuration** on our side

Awaiting news to progress on your subject.
Regards

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

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 9 months ago -  6 years 9 months ago [\#314720](#314720) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  Replied by *[elevology](/forum/user/30211-elevology "View elevology's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314720 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

screenshots attached

- [ ![ScreenShot2020-01-16at9.11.10AM.png](/forum/attachment/48521) ](/forum/attachment/48521 "...t9.11.10AM.png") [ ](/forum/attachment/48521?download=1 "...t9.11.10AM.png")
- [ ![ScreenShot2020-01-16at9.14.41AM.png](/forum/attachment/48524) ](/forum/attachment/48524 "...t9.14.41AM.png") [ ](/forum/attachment/48524?download=1 "...t9.14.41AM.png")
- [ ![ScreenShot2020-01-16at9.14.47AM.png](/forum/attachment/48525) ](/forum/attachment/48525 "...t9.14.47AM.png") [ ](/forum/attachment/48525?download=1 "...t9.14.47AM.png")

Last edit: 6 years 9 months ago by [elevology](/forum/user/30211-elevology "View elevology's Profile"). Reason: wrong screenshots added

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTkwMDAtcHJvZHVjdC1jdXN0b20tZmllbGQtdmFsdWVzLW5vdC1zYXZpbmctaW4tYmFja2VuZC1vZi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

6 years 9 months ago -  6 years 9 months ago [\#314721](#314721) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314721 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hello,

Thanks for your returns ! It able us to improve our code to **manage specific cases** like yours, here you have some **"** and start your value by a **number**, both of these leads to a bug.

You can now update to have the fix, and your solution.

Regards

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

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 9 months ago [\#314768](#314768) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  Replied by *[elevology](/forum/user/30211-elevology "View elevology's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314768 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hello, I went into my subscriptions and downloaded hikashop but it's showing v4.2.2 which is the version I already had installed prior to reporting this bug. Does this download contain the bug fix I need even though you didn't increment the version number?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTkwMDAtcHJvZHVjdC1jdXN0b20tZmllbGQtdmFsdWVzLW5vdC1zYXZpbmctaW4tYmFja2VuZC1vZi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14262
-
-

6 years 9 months ago [\#314822](#314822) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314822 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hi,

Yes. We made a hot patch we've added to the current release so that you can get the fix easily. Since it's not a big problem we'll wait for the next release for everyone else to get the patch. Otherwise, if we were doing a new release each time we fix a small issue, we would do a release each day which would bother everyone for fixes they don't care about.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 9 months ago -  6 years 9 months ago [\#314942](#314942) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  Replied by *[elevology](/forum/user/30211-elevology "View elevology's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314942 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hello, I'm not sure how you patched this but I need to report some more bugs here. &amp;#x26;reg; ® breaks it. I'd recommend some kind of unit test here, testing your function against a variety of characters.

Last edit: 6 years 9 months ago by [elevology](/forum/user/30211-elevology "View elevology's Profile").

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 8 months ago [\#314945](#314945) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  Replied by *[elevology](/forum/user/30211-elevology "View elevology's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314945 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

The ampersand (&amp;) symbol also breaks it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTkwMDAtcHJvZHVjdC1jdXN0b20tZmllbGQtdmFsdWVzLW5vdC1zYXZpbmctaW4tYmFja2VuZC1vZi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14262
-
-

6 years 8 months ago [\#314974](#314974) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#314974 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hi,

Thank you for your feedback. We've added another patch for that.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 8 months ago -  6 years 8 months ago [\#315040](#315040) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  Replied by *[elevology](/forum/user/30211-elevology "View elevology's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#315040 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

™ &amp;#x26;trade; also breaks it

Last edit: 6 years 8 months ago by [elevology](/forum/user/30211-elevology "View elevology's Profile").

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

6 years 8 months ago [\#315041](#315041) by [elevology](/forum/user/30211-elevology "View elevology's Profile")  Replied by *[elevology](/forum/user/30211-elevology "View elevology's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#315041 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Also something in this string breaks it: CAT 4, 40 cal/cm2

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTkwMDAtcHJvZHVjdC1jdXN0b20tZmllbGQtdmFsdWVzLW5vdC1zYXZpbmctaW4tYmFja2VuZC1vZi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14262
-
-

6 years 8 months ago [\#315042](#315042) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product custom field values not saving in backend of product](/forum/26-product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product#315042 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : firefox mac -- Error-message(debug-mod must be tuned on) -- : No error message present on the page  Hello,  I have a multi-select custom field added to a product. When I navigate to the back-end of the product, make a selection or two from the multi-select and save, some values save and some do not.  An example: Multi-select custom field name &quot;Mounting&quot; with the following structure.  Mounting - Horizontal Mounting - Vertical Mounting - 1&quot; Pipe Mounting - 1-1/4&quot; Pipe Mounting  If I select Horizontal Mounting or Vertical Mounting or both, the values save into the product. If I select 1&quot; Pipe Mounting or 1-1/4&quot; Pipe Mounting the values do not save. It seems like the double quote in the value is causing an issue. Perhaps the custom field values need to html entity encoded before they're placed into the option value=&quot;&quot; in the DOM.")*

Hi,

I'm not able to reproduce the issue with either of your two last examples thanks to the patch we've added 2 days ago here [ www.hikashop.com/forum/product-category-...-product.html#314974](https://www.hikashop.com/forum/product-category-display/899000-product-custom-field-values-not-saving-in-backend-of-product.html#314974)
So make sure you've downloaded the install package on our website and installed it on your website again to get the patch.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTkwMDAtcHJvZHVjdC1jdXN0b20tZmllbGQtdmFsdWVzLW5vdC1zYXZpbmctaW4tYmFja2VuZC1vZi1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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.409 seconds

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

[](#top)
