Background of the issue:
I'm trying to translate my eshop using WPML. I'm encountering an issue with the Improved Product Options for WooCommerce plugin.
Symptoms:
Colors are shown as buttons with text instead of as colors.
Questions:
Why are colors displayed as text buttons instead of colors when using WPML with Improved Product Options for WooCommerce?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+01:00)
On this sandbox:
hidden link
Can you do the following:
- Install **Improved Product Options for WooCommerce**
- Set up one category with a color
- Create a product using this color (and translate it) to demonstrate the issue
I will then escalate the case to our compatibility team.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+01:00)
This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+01:00)
Can you please try the following:
1. Navigate to **WooCommerce > Settings > Improved Options > Product Options tab** in your WordPress dashboard.
2. Use the **language selector** located in the **top admin bar** to switch the language to other language.
3. Go to **Products > Attributes** and add the **Color attribute**. Once added, click "Configure terms" to add specific color terms (e.g., Red, Blue, Green).
Does it work?
As for the technical details, all customizations are stored in the option: **`svx_settings_improved_options`**.
For each language, a language prefix is added to the option. For example: **`wc_ivpa_attribute_customization_fr`** (for French e.g.).
This behavior is defined in the plugin’s `ivpa-frontend.php` file, specifically in this line: