Background of the issue:
I am trying to fetch all orders using our invoicing system via REST API, specifically from the URL hidden link. By default, the ordered product name, including variations like color and size, should appear in the line_items.name attribute in the REST API response.
Symptoms:
When "WPML Multilingual & Multicurrency for WooCommerce" is installed, the ordered variation is not included in the line_items.name attribute. Only the product name is shown, without variations like color and size.
Questions:
Why are product variations not included in the line_items.name attribute when "WPML Multilingual & Multicurrency for WooCommerce" is installed?
How can I ensure that product variations appear in the REST API response?
Hello,
My name is Carlos, and I will continue working on this ticket
Please follow these steps:
- Go to Settings -> Permalinks -> Product permalinks -> Select 'Default' and save the changes
- Go to WooCommerce -> WPML Multilingual & Multicurrency for WooCommerce -> Store URLs tab -> Translate the product slug
- Go to WooCommerce -> WPML Multilingual & Multicurrency for WooCommerce -> Status tab -> Fix any issues that might appear in the first two sections
- Double-check if the issue has disappeared
Can you tell me the results of the steps described above?
You mentioned you translated all product variations; however, I can only see one product in the secondary language, and it is not linked to a product in the original language, which means it is not technically a translation.
Can you describe the steps you followed to translate the product variations? You can attach screenshots or share a link to a video describing the steps. This will be very helpful to understand the situation.