Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello and thank you for reporting this issue.
    I have escalated it to our developers.
    When I have more information, I will let you know.

    spik3s

    (@spik3s)

    I just found a quick fix for those who don’t mind getting their hands dirty.

    In class-wcml-rest-api-support.php line 22, change

    
    add_action( 'woocommerce_rest_prepare_product', array( $this, 'append_product_language_and_translations' ) );
    

    to

    
    add_action( 'woocommerce_rest_prepare_product_object', array( $this, 'append_product_language_and_translations' ) );
    

    API v2 added ‘_object’ to the filter name in class-wc-rest-products-controller.php, line 175

    • This reply was modified 9 years ago by spik3s. Reason: Found a possible solution

    We released a new release where the issue should be resolved.
    Please do a test and let us know if the issue persists.

    Please remember to backup your database and files first before you proceed! You can use a plugin for this if you like (example: http://wordpress.org/plugins/duplicator/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Product translation with REST API v2’ is closed to new replies.