Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was setting up products in English on their website, having already set them up in Portuguese. They changed the settings for '_crosssell_ids', '_crp_related_ids', and '_upsell_ids' to 'Copy'. While the related products were being copied correctly, the cross-sell and upsell products were locked and not copied from the Portuguese version.
Solution:
We found that the products designated as 'US Product 1' and 'CS Product 1' were not translated. We translated these products and updated the default language for the 'Main Product Test' product along with its translation. After these updates, the translated product displayed the linked products correctly.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Osama Mersal 4 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
September 6, 2024 at 6:57 pm #16150257

santiagoR-20

<b>Background of the issue: </b>
I am setting up all the products in English on myfpvworld.com. They are already set up in Portuguese. I went to the settings page and changed "_crosssell_ids", "_crp_related_ids" and "_upsell_ids" to "Copy". The related products are working, unlocked, and being copied, but the cross sells and up sells are locked and didn't copy the products from the Portuguese version. Link to a page where the issue can be seen: hidden link

<b>Symptoms: </b>
Cross Sells and Up Sell fields are locked (EN version) and products are not copied from the Portuguese version.

<b>Questions: </b>
Why are the Cross Sells and Up Sell fields locked in the English version?
Why didn't the products copy from the Portuguese version for Cross Sells and Up Sells?

Screenshot_3.png
September 8, 2024 at 9:00 am #16152289

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please log in to this hidden link">sandbox site, create a test product, and translate it to replicate the issue.

If the issue is reproducible, please let me know how to reproduce it so I can consult our second-tier support team.

Best regards,
Osama

September 8, 2024 at 12:24 pm #16152588

santiagoR-20

I could reproduce it yes. Here is the step by step to get it.
Create 2 products (UpSell Product 1 and CrossSell Product 1). Then create another product (Main Product Test) and add UpSell Product 1 and CrossSell Product 1 as Cross sells and upsells, then go to WPML - Theme and Plugins Localization and search. Then go to WPML - Settings - Custom Fields Translation (Show System Fields) and search for "ids" it will appear "_crosssell_ids" and "_upsell_ids" locked. Unlock them and choose "Copy" and save. After that, translate a product from english to portuguese and see the portuguese product version, scroll down to product settings and see that the cross sells and up sells fields are still locked. I think thats it. Let me know if you need anything else.

September 8, 2024 at 12:47 pm #16152613

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for replicating the issue. I checked the sandbox site and found that the "US Product 1" and "CS Product 1" products were not translated.

So, I translated them and updated the default language, the "Main Product Test" product, along with its translation.

After that, the hidden link">translated product showed the linked products correctly.

Best regards,
Osama

September 8, 2024 at 4:58 pm #16152918

santiagoR-20

I see, thank you very much. I will try it on my website and if I find problems again I will talk to you guys again. Once more, thank you very much!