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.

Please make sure to update to WPML to the latest and check our list of Known Issues before reporting

This topic contains 26 replies, has 3 voices.

Last updated by 8keysG 4 days, 8 hours ago.

Assigned support staff: Mihai Apetrei.

Author Posts
February 17, 2020 at 8:52 am #5505437

8keysG

I have store with 1800 products. I was wondering if its possible to make them not translatable so I don't have to edit each product and I won't have double products?

February 17, 2020 at 11:59 am #5507219

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

1. I am not sure that I fully understand what you would like to accomplish. Are you saying that you would like to show the same products (in the current state / same content) on all languages? If I didn't understand things right, can you please elaborate a bit more?

2. Also, I would be more than happy to take a look at the backend, too, trying to better understand what you are trying to do.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of the site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Kind regards,
Mihai Apetrei

February 17, 2020 at 5:25 pm #5509735

8keysG

When we translate products with WPML, it create actually double product with different ID in database. This makes double job for products that are digital goods because licenses plugins works with 1 product.

Not to mention job to "translate" all 1800 product in the store. The question is, can those products somehow stay as they are without translation? (only woocommerce button is translated anyway)

February 17, 2020 at 8:32 pm #5510465

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you very much for your explanation.

Yes, I think you can use this method here to accomplish that:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/displaying-untranslated-products-in-secondary-languages/

Please let me know if that's what you were looking for.

Kind regards,
Mihai

February 17, 2020 at 10:12 pm #5510901

8keysG

Those settings are already setup as per your instructions, however I still cannot summon products via any woocommerce or theme shortcode in translated pages.

February 18, 2020 at 3:06 pm #5516501

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for your answer.

Sorry, but I was not aware that you are trying to load them with a shortcode.

1. Please take a look at this and see if this is the procedure you are using, too: https://wpml.org/forums/topic/the-shortcode-products-from-woocommerce-doenst-work-in-2nd-language/#post-4827059

It also seems that there was a bug at one point regarding the [products] shortcodes (https://wpml.org/errata/woocommerce-products-shortcode-does-not-work-on-the-translated-page-when-category-attribute-is-used/) so I am not sure what version of our plugins you are currently running as I don't have access to the site, neither the debug information.

2. Please take a look at this (https://wpml.org/forums/topic/woocommerce-doesnt-show-products-or-product-categories-in-non-main-language/) and see if that's the case.

Please let me know how that goes.

Kind regards,
Mihai

February 18, 2020 at 4:40 pm #5517319

8keysG

There is no such line of code in that file.
Please open fields and I will send you site credentials.

February 18, 2020 at 5:09 pm #5517471

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

1. I am enabling the private fields below my reply here (if you don't see them, please try from an incognito window or from a different browser).

2. Can you also please let me know of an example page where I can see this issue happening?

Thank you.

February 19, 2020 at 8:30 am #5521305

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for the credentials.

I can confirm that I was able to log into the backend.

It seems that you are using the "prdctfltr_sc_products" shortcode which is a custom shortcode (coming from the "Product Filter for WooCommerce" plugin).

From what I can see in the link below (I will also attach a screenshot), this is a known issue by the Plugin developers and it seems that you might need to get in touch with them regarding this.

- hidden link

If you find out a solution from them, can you please share it with us here, too, so that other people that might use that plugin can also benefit from this information?

Thank you very much and looking forward to hearing from you.

Kind regards,
Mihai

February 19, 2020 at 8:51 am #5521501

8keysG

It doesn't create conflict only with that plugin. If you check main page on Deutsch version it doens't work as well on theme shortcodes and tabs.

February 19, 2020 at 3:58 pm #5525779

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi.

From what I can see, you are using the Woodmart theme and this theme is declared as compatible with WPML (https://wpml.org/theme/woodmart/).

However, I'm sure that the things that you are reporting are indeed happening (even with compatible themes/plugins, there are things that can happen sometimes due to multiple reasons) but for each issue in part, we need to have separate tickets (we are allowed to have 1 ticket open for each issue).

So, as this ticket is opened regarding the "prdctfltr_sc_products" shortcode that's part of the "Product Filter for WooCommerce" plugin, let's continue tackling this matter on this ticket here.

So, regarding this matter, as I can see other users are reporting it in the Plugin's support page (as I shared above), I think the best thing you can do (it might also take way less time as they might have a solution for the bug already) is to write to the plugin support.

Regarding any other issues that you find happening between WPML and the theme or another plugin that you might be using, please do open a new ticket and we will be more than happy to take a look at each issue, one by one.

Thank you very much for your understanding and I am looking forward to hear from you regarding what response you will get from the "Product Filter for WooCommerce" plugin's support team.

Kind regards,
Mihai

February 20, 2020 at 7:30 am #5530045

8keysG

My ticket question was pretty much clear and it's purpose wasn't to complain about woo commerce filter but rather avoiding translating 1800 products.

So, can you please check and explain why are products not visible on theme's tabs since they told me to ask you?

I wish to avoid translating so much products because they are treated as duplicate products with different ids and it creates conflict with my booking and licenses.

February 20, 2020 at 12:45 pm #5532991

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Mihai Apetrei is having holidays, I am going to step in to help you out.

- You can achieve it by following below steps:
1. Select ‘Not translatable’ option from WPML >> Settings >> Post Types Translation >> products (which is woocommerce post type) .
2. Press the ‘Save’ button.

- You can also display original products on other languages by following this doc:
https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#displaying-original-content-for-whole-post-types

Thank you

February 20, 2020 at 5:48 pm #5535587

8keysG

Thank you Noman, but that solution is not working unless I did something wrong which I doubt?

Products are not appearing when they are called by any shortcodes (except for translated ones)

February 23, 2020 at 8:05 pm #5549769

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay in getting back, it was my weekend (Friday-Saturday).

1. Have you tried the 2nd option I sent above, the fallback option as shown in the screenshot at this link? I highly recommend trying this option:
https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#displaying-original-content-for-whole-post-types

2. Please try the above option and let me know if it makes any difference? Otherwise can you please follow these steps in order to isolate the cause of the issue:
- Backup your site first before making any change, this is for security reasons.
- Deactivate all the plugins except WPML, WooCommerce and WooCommerce Multilingual.
- Switch for a moment to a WordPress default theme like Twenty Seventeen.
- If the issue is gone, activate one by one to see which one there is an interaction issue.

Please let me know the results, Thank you