Background of the issue:
I am trying to duplicate all the information when adding a new property. However, I discovered that when I try to duplicate it into Arabic and other languages, some custom fields and other things do not get duplicated. URL: hidden link
Symptoms:
When duplicating a property into Arabic, some custom fields and other information do not get duplicated.
Questions:
Why are some custom fields and other information not getting duplicated when I duplicate a property into Arabic?
How can I ensure all information is duplicated correctly when adding a new property in Arabic?
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
Please make sure the translation preference is set for these custom fields. We can check it from WPML>>Settings>>Custom Fields - hidden link
We can search the fields by their field ID there. So search for the fields having issues and verify the field's translation preference is set as *Copy* or *Translate*. Refer to the following documentation for more details.
I am unable to copy this part. I have tried many times, but it didn't work. I have to add it manually for each property in every language. Could you advise me?
Thank you for the updates. A couple of requests for tracking this.
1) Please share the URL of a couple of posts having the issue
2) Please fill the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the details and login information. I created a private Property post for testing and the issue is reproducible. The result is same after setting *property_agent* field as *Copy* via WPML language configuration. Because it is set as *Translate* by the theme author via wpml-config.xml. Please check the attached images for more details.
hidden link
This looks like a compatibility issue. Therefore I have created a test site in our Sandbox Server for further debugging of this bug. Because reproducing the issues in a fresh/minimal installation will help us a lot in debugging and also we can troubleshoot the issue without affecting your sites.
Please try the following steps and make sure the bug is existing or is not on the sandbox site.
1) Click this URL to visit the Sandbox site backend - hidden link
2) Install & Configure WpResidence theme like your live site
3) Configure WPML like your live site
4) Create a Property post and set the agent fields as *Copy*
5) Duplicate the post to Arabic
Thank you for reproducing the issue on the sandbox site. I will consult with our compatibility team for an expert opinion and get back to you as soon as possible. Please wait.
We are getting the expected results on the sandbox site after the following changing the code.
1) Go to */wp-content/plugins/wpresidence-core/post-types/* folder
2) Open the *property.php* file for edit
3) Scroll down to line 608 and make the following change
But this requires further debugging. But our developers are getting file missing errors related to WpResidence theme. So one request. Please upload and install the WpResidence theme and its plugins files correctly in Sandbox site. You can switch to default theme and delete the WpResidence theme before uploading the fresh one.
--
Thanks!
Bigul
The topic ‘[Closed] Duplicate properties issue’ is closed to new replies.