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: Exception
This topic contains 5 replies, has 1 voice.
Last updated by Otto 1 day, 6 hours ago.
Assisted by: Otto.
Author | Posts |
---|---|
May 6, 2025 at 3:29 am #16998924 | |
itA-15 |
Background of the issue: Symptoms: Questions: |
May 6, 2025 at 1:04 pm #17001817 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, Here are a few steps you can try to resolve the issue with the Spanish product page showing as out of stock: 1. Update WPML and its add-ons to the latest versions. Please refer to the screenshot I’ve attached to ensure all components are up to date. 2. Confirm whether this issue affects only this product or if other translated products are also showing incorrect stock status. This will help us narrow down whether it's a global issue or specific to one item. 3. Go to WooCommerce > WooCommerce Multilingual & Multicurrency, scroll to the bottom right, and under the Troubleshooting section, click "Sync product stock quantity and status". This syncs inventory data between translations. 4. If the above steps don’t resolve it, and the issue is only with this product, try this: * Edit the original (English) product in the backend and click Update (even without changing anything). Let us know how it goes or if you'd like help going through any of the steps. |
May 7, 2025 at 7:01 am #17004581 | |
itA-15 |
We attempted the steps in our demo environment, starting with updating WPML and its related add-ons. However, the update did not complete successfully. We encountered the following message: Update failed: undefined error message URL: hidden link |
May 7, 2025 at 2:07 pm #17007053 | |
Otto WPML Supporter since 09/2015
Languages: English (English ) Spanish (Español ) Timezone: America/Argentina/Buenos_Aires (GMT-03:00) |
Hello, Regarding the update. Please try the following: After that, try to update the plugin again. Regarding the stock display. The original product stock display seems to be custom or added by a plugin or the theme, am I right? Can you please elaborate on how it was built? Best Regards, |
May 12, 2025 at 3:38 am #17020933 | |
itA-15 |
Hi Otto, Thank you for your suggestions. We have successfully updated the WPML plugin and its add-ons following the first set of instructions. The plugin was unregistered, a new site key was generated, and re-registration was completed as advised. However, the issue with the Spanish product page still persists. Issue Summary: Steps Already Taken: Verified that this issue is specific to one product – other translated products are not affected. Used the "Sync product stock quantity and status" option in WooCommerce > Multilingual & Multicurrency > Troubleshooting. Edited and updated both the original English product and its Spanish translation as instructed. Despite all these steps, the problem remains unresolved. Questions: Is there a possibility that a custom function, theme integration, or plugin is overriding the stock display for translated products? Is there any WPML debug option or log we can refer to for deeper insights? We’d appreciate your further assistance in identifying the root cause of this issue. New threads created by Otto and linked to this one are listed below: https://wpml.org/forums/topic/product-stock-is-0-in-secondary-language/ |
May 12, 2025 at 2:26 pm #17023448 | |
Otto WPML Supporter since 09/2015
Languages: English (English ) Spanish (Español ) Timezone: America/Argentina/Buenos_Aires (GMT-03:00) |
Hello, Thanks, I am glad the first issue is solved. I created a new ticket for the second issue. I am closing this one, and I'll follow up here: Best Regards, |