Order API line items returns translated product id
-
Hi team,
We have a client who is using this plugin. From what I understand how the plugin works is that it internally creates a new product but with the localized description, name, etc.
From what I test out when I fetch all the products through WoocommerceAPI, these localized products are not in the response. However when I fetch a specific order and somehow that order is created in site with different language, then when we fetch the order through API, the line item actually lists the product id of the localized product and not the original product.
As you may understand, for those who are using Woocommerce API, this can cause lots of confusion since original product and localized product are not separate products, so this can cause double accounting for matters such as inventory.
Any plan to fix this?
Regards,
GherryPS: We are using version 3.6.11 and WC version 2.4.7
- The topic ‘Order API line items returns translated product id’ is closed to new replies.