Home›Support›English Support›[Resolved] Product Addons disappear once a new attribute is added and variations edited
[Resolved] Product Addons disappear once a new attribute is added and variations edited
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where Product Addons disappear after making adjustments to attributes and variations, particularly in products with a large number of attributes (15-25). This problem does not affect products with fewer attributes (up to 5). Solution: We recommend increasing the PHP max input variables value in the php.ini file from the default of 1000 to 5000. This change could resolve the issue with Product Addons disappearing when editing products with many attributes and variations. If you're experiencing this issue, please try adjusting the PHP configuration and test again. If you need help editing the php.ini file, consult your hosting support.
If this solution doesn't look relevant or if you continue to face issues, please open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Ok, here is a link to screen recording where I show how to recreate this issue, but this is not the only way how to add-ons can disappear. Sometimes we delete an attribute-variatoion and/or add new one and add-ons also disappear, but not in 100% if the cases:
Product link: hidden link
Screen recording: hidden link
- I am not using import data to create the Product Addon. I create all add-ons manually.
- This happens to 3 of our products that have many attributes and variations generated from those attributes (approximately 15 - 25). I have not noticed this issue to any other of our products (maybe some rare exceptions) that have up to like 5 attributes and variations. The wast majority of our products are with up to 5 attributes and this issue does not affect them. But we regularly have to make attribute - variation adjustments (add new ones, delete or edit some of the existing ones) for the products that have a lot of them and when add-ons disappear most of the time (90-95%) we make adjustments then this is not good.
- I made a copy of the problematic product, but I faced the same issues on the copy aswell so it does not look like this will solve that issue.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you for the video. I followed those steps but still can not confirm the issue on my virtual server.
Further, as this issue only occurs on some products then it could be related to the PHP max input variables value, which is set to the default of 1000 on your server.
This is a value inside the php.ini file - the configuration for PHP on the server.
Please try to set the value to 5000 and then test again.
If you need assistance with editing the php.ini file, please consult your hosting support.
Looks like this change resolved the disappearing add-ons issue. After the value on server was changed I tried at least 10 times to repeat the steps that previously caused add-ons to disappear and now they were not disappearing anymore.
However, this change didn't help with the other issue which is more critical then disappearing add-ons. The issue with non-synchronizing attribute/variation issue between the languages is still present. Should I explain that issue in more details here or you/me should create a separate ticket for this?
New threads created by Andreas W. and linked to this one are listed below:
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
I am glad to hear that we found the solution.
As we only handle one issue per ticket I would like to split this issue into a new ticket.
I will then follow up with you from there and if you do not need any further assistance in regards to the issue handled on this ticket, then please feel free to mark this ticket as resolved.