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

#   Characteristic value limitation?

##

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

Less More

- Posts: 18
- Thank you received: 2
-
-

11 years 11 months ago [\#178512](#178512) by [Head](/forum/user/32682-head "View Head's Profile")  *[Characteristic value limitation?](/forum/26-product-category-display/872832-characteristic-value-limitation#178512 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a Characteristic &quot;color&quot; with 305 values. There is no problem about handling, and automatic variant generation is disabled. We will handle the variants mostly with the import functionality.  Now about the problem. When I try to add that characteristic to a test product I get the screen that you can see on the attached images.  The characteristic is not added to the product. If I remove some of the values (about 50 - 100) it works normaly. I'm about to finish that project (finaly), and I need this working to do the import of the products.")* was created by *[Head](/forum/user/32682-head "View Head's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.12
-- Browser(s) name and version -- : Any
-- Error-message(debug-mod must be tuned on) -- : None

Hi.

I have a Characteristic "color" with 305 values. There is no problem about handling, and automatic variant generation is disabled. We will handle the variants mostly with the import functionality.

Now about the problem. When I try to add that characteristic to a test product I get the screen that you can see on the attached images.

The characteristic is not added to the product. If I remove some of the values (about 50 - 100) it works normaly. I'm about to finish that project (finaly), and I need this working to do the import of the products.

- [ ![Bildschirmfoto&#95;2014-11-06&#95;um&#95;14&#95;25&#95;07.png](/forum/attachment/20553) ](/forum/attachment/20553 "...m&#95;14&#95;25&#95;07.png") [ ](/forum/attachment/20553?download=1 "...m&#95;14&#95;25&#95;07.png")
- [ ![Bildschirmfoto&#95;2014-11-06&#95;um&#95;14&#95;25&#95;20.png](/forum/attachment/20554) ](/forum/attachment/20554 "...m&#95;14&#95;25&#95;20.png") [ ](/forum/attachment/20554?download=1 "...m&#95;14&#95;25&#95;20.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4MzItY2hhcmFjdGVyaXN0aWMtdmFsdWUtbGltaXRhdGlvbj90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178558](#178558) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Characteristic value limitation?](/forum/26-product-category-display/872832-characteristic-value-limitation#178558 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a Characteristic &quot;color&quot; with 305 values. There is no problem about handling, and automatic variant generation is disabled. We will handle the variants mostly with the import functionality.  Now about the problem. When I try to add that characteristic to a test product I get the screen that you can see on the attached images.  The characteristic is not added to the product. If I remove some of the values (about 50 - 100) it works normaly. I'm about to finish that project (finaly), and I need this working to do the import of the products.")*

Hi,

The popup display some HTML with a script in order to copy the generated HTML into the product page.
I think that because there are a lot of element (too much ?) the script does not succeed the copy of the HTML, it is also possible that the processing of the page stopped or the script is not processed.

It will be difficult to say without seeing the content HTML of the popup (too see if the content is right generated) and the browser javascript console (to see errors).

Regards,

---

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

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

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

Less More

- Posts: 18
- Thank you received: 2
-
-

11 years 11 months ago [\#180532](#180532) by [Head](/forum/user/32682-head "View Head's Profile")  Replied by *[Head](/forum/user/32682-head "View Head's Profile")* on topic *[Characteristic value limitation?](/forum/26-product-category-display/872832-characteristic-value-limitation#180532 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a Characteristic &quot;color&quot; with 305 values. There is no problem about handling, and automatic variant generation is disabled. We will handle the variants mostly with the import functionality.  Now about the problem. When I try to add that characteristic to a test product I get the screen that you can see on the attached images.  The characteristic is not added to the product. If I remove some of the values (about 50 - 100) it works normaly. I'm about to finish that project (finaly), and I need this working to do the import of the products.")*

Hi Jerome,

I was a bit busy...

I've attached you a Screenshot of the error message. It says something like "generate to many variants" in bad german ![:)](/media/kunena/emoticons/8.png ":)").

This is not an urgent problem for me as the CSV import works flawlessly. My customer just can not add a product with the "color" characteristic manually.

Maybe you can fix that issue within the next releases.

- [ ![Bildschirmfoto&#95;2014-11-20&#95;um&#95;15&#95;12&#95;42.png](/forum/attachment/20780) ](/forum/attachment/20780 "...m&#95;15&#95;12&#95;42.png") [ ](/forum/attachment/20780?download=1 "...m&#95;15&#95;12&#95;42.png")

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

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

Less More

- Posts: 846
- Thank you received: 92
-
-

11 years 11 months ago -  11 years 11 months ago [\#180538](#180538) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[Characteristic value limitation?](/forum/26-product-category-display/872832-characteristic-value-limitation#180538 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a Characteristic &quot;color&quot; with 305 values. There is no problem about handling, and automatic variant generation is disabled. We will handle the variants mostly with the import functionality.  Now about the problem. When I try to add that characteristic to a test product I get the screen that you can see on the attached images.  The characteristic is not added to the product. If I remove some of the values (about 50 - 100) it works normaly. I'm about to finish that project (finaly), and I need this working to do the import of the products.")*

Hi
could i have the step to enable debugging using hikashop and the requirement ( index.php specific content ) that ll show the information ?
Does the information is only available in the browser console and not in the html rendering page ( popup ? ...)
regard's

Last edit: 11 years 11 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4MzItY2hhcmFjdGVyaXN0aWMtdmFsdWUtbGltaXRhdGlvbj90bXBsPW1hcmtkb3du) 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: 86290
- Thank you received: 14268
-
-

11 years 11 months ago [\#180568](#180568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Characteristic value limitation?](/forum/26-product-category-display/872832-characteristic-value-limitation#180568 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : None  Hi.  I have a Characteristic &quot;color&quot; with 305 values. There is no problem about handling, and automatic variant generation is disabled. We will handle the variants mostly with the import functionality.  Now about the problem. When I try to add that characteristic to a test product I get the screen that you can see on the attached images.  The characteristic is not added to the product. If I remove some of the values (about 50 - 100) it works normaly. I'm about to finish that project (finaly), and I need this working to do the import of the products.")*

Hi,

It seems that the issue comes from the translation of the error (which appears only above a certain amount of values in the characteristic) which has been modified on your website, and then breaking the javascript of the characteristic.
Replace the code: Code:

alertMessage.innerHTML = '".JText::sprintf('TOO_MANY_VARIANTS',$optionsLink,$customLink)."';

to: Code:

alertMessage.innerHTML = '".str_replace("'","\'",str_replace("\'","'",JText::sprintf('TOO_MANY_VARIANTS',$optionsLink,$customLink)))."';

in the file administrator/components/com_hikashop/views/characteristic/view.html.php and that should fix the error even without fixing the translation file.

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

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

[](#top)
