Skip Navigation

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.

This topic contains 5 replies, has 2 voices.

Last updated by Andreas W. 1 year, 1 month ago.

Assisted by: Andreas W..

Author Posts
January 2, 2024 at 8:02 pm

Jānis Anspaks

About to take a copy for testing in a minimal setup

January 2, 2024 at 9:25 pm
January 3, 2024 at 4:48 pm #15148077

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

On a local copy of your site, I added a new Product Addon to "Saulrieta brauciens Jelgavā izgaismotās laivās".

I then saved the product and created a new attribute (date) and created the variations.

The Product Addon remained visible on this test.

I can not recreate the issue and need to ask you for more detailed steps.

Also, take note that I could not confirm the issue on your site when creating a new product.

- Are you maybe using import data to create the Product Addon?

- Are there many existing products affected by this issue on your site?

- Does maybe duplicating and replacing the old product solve the issue?

January 3, 2024 at 8:33 pm #15148697

Jānis Anspaks

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.

January 4, 2024 at 10:41 am #15150054

Andreas W.
Supporter

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.

January 4, 2024 at 2:31 pm #15151139
Jānis Anspaks

Thank you very much!

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:

https://wpml.org/forums/topic/split-product-attributes-and-variations-are-not-synced-between-products/

January 4, 2024 at 3:51 pm #15152206

Andreas W.
Supporter

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.